HTTP 407 Proxy Authentication Required
The client must first authenticate itself with a proxy server.
4xx Client Error
407
Proxy Authentication Required
Description
The 407 Proxy Authentication Required status code is similar to 401 Unauthorized, but it indicates that the client needs to authenticate itself in order to use a proxy. The proxy must send a Proxy-Authenticate header field containing a challenge applicable to the proxy for the target resource. The client may repeat the request with a new or replaced Proxy-Authorization header field. This status code is used in corporate network environments where all HTTP traffic must pass through an authenticating proxy server.
When Is It Used?
Encountered in corporate or enterprise network environments where HTTP traffic is routed through a proxy server that requires authentication. The user must provide proxy credentials before the request can be forwarded to the origin server.
Example Response
HTTP/1.1 407 Proxy Authentication Required
Proxy-Authenticate: Basic realm="Corporate Proxy"