Skip to content

Proxy authentication header evaluation fails #14

Description

@el-bastard0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions