X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/94b57902775c4aaa02cb7532f07415729ef353df..b25916b93d720f80b5bdf16f018d83c13c6c3001:/services/arv-git-httpd/auth_handler.go diff --git a/services/arv-git-httpd/auth_handler.go b/services/arv-git-httpd/auth_handler.go index df2d8d6110..6313d50d68 100644 --- a/services/arv-git-httpd/auth_handler.go +++ b/services/arv-git-httpd/auth_handler.go @@ -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 }