407 Proxy Authentication Required

The HTTP 407 status code means a proxy requires authentication for the request.

The proxy server (also known as gateway) sits in between the client and the upstream server. Proxies can serve multiple purposes: caching, content filtering, security, TLS termination, performance improvement, etc…

This status code is similar to 401 Unauthorized, where the server wants the client to authenticate before proceeding with the request.

GET /secret HTTP/2

The only difference is that the proxy sends the Proxy-Authenticate header when it wants clients to authenticate (instead of the WWW-Authenticate header in 401).

HTTP/2 407 Proxy Authentication Required
Proxy-Authenticate: Basic realm="You Shall Not Pass"

Interested in no-nonsense technical guides?

No spyware, no promotional emails, or keyword-stuffed junk. I will only send you a single email when I've got something interesting to say. Unsubscribe anytime.

You can also subscribe to the Atom feed (it's like RSS, but better).