We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1534816 commit 4deaef7Copy full SHA for 4deaef7
main.go
@@ -86,7 +86,7 @@ func handler(w http.ResponseWriter, r *http.Request) {
86
if auth == authOn {
87
_, p, ok := basicProxyAuth(r.Header.Get("Proxy-Authorization"))
88
if !ok {
89
- w.Header().Set("Proxy-Authenticate", `Basic realm=go`)
+ w.Header().Set("Proxy-Authenticate", `Basic realm=Restricted`)
90
http.Error(w, "proxy auth required", http.StatusProxyAuthRequired)
91
return
92
}
0 commit comments