The proxy I'm currently using is returning a HTTP 407 and the Proxy-Authenticate header looks like follows:
Proxy-Authenticate:[Negotiate Basic realm="Squid proxy-caching <omitted...>"]
The rclient interprets the header value as "Negotiate" which contains neither "NTLM" nor "Basic". This means that no authentication is performed.
ntlmchall := resp.Header.Get("Proxy-Authenticate")
log.Print(ntlmchall)
// output: Negotiate
// output: Unknown authentication
The proxy I'm currently using is returning a HTTP 407 and the Proxy-Authenticate header looks like follows:
Proxy-Authenticate:[Negotiate Basic realm="Squid proxy-caching <omitted...>"]The rclient interprets the header value as "Negotiate" which contains neither "NTLM" nor "Basic". This means that no authentication is performed.