HTTP headers | ProxyAuthenticate (original) (raw)

HTTP headers | Proxy-Authenticate

Last Updated : 16 Oct, 2021

The HTTP Proxy-Authenticate is a response header gives access to a resource file by defining an authorization method. It allows the proxy server to transmit the request further by authenticating it. This header is sent along with 407 Proxy Authentication Required which indicates the inability to complete a request due to the lack of proper authorization credentials for the proxy server that is intercepting the request.

Syntax:

Proxy-Authenticate: realm=

Directives:

Examples:

Proxy-Authenticate: Basic

The Basic authentication type accepts a username and password to validate the authentication.

Proxy-Authenticate: Basic realm="Access to Geeksforgeeks website"

This gives access to the Geeksforgeeks website after accepting a username and password.

Supported Browsers: The following browsers are compatible to HTTP Proxy-Authenticate header: