Renamed BlockToReplication BlockToDesiredReplication.
[arvados.git] / services / arv-git-httpd / auth_handler.go
index df2d8d61109d710a1532e8dbc8d9c303d0af881d..6313d50d685e7a17c4854cbb5c62305c905bcb72 100644 (file)
@@ -60,7 +60,7 @@ func (h *authHandler) ServeHTTP(wOrig http.ResponseWriter, r *http.Request) {
        username, password, ok := BasicAuth(r)
        if !ok || username == "" || password == "" {
                statusCode, statusText = http.StatusUnauthorized, "no credentials provided"
-               w.Header().Add("WWW-Authenticate", "basic")
+               w.Header().Add("WWW-Authenticate", "Basic realm=\"git\"")
                return
        }