HTTP headers | Proxy-Authenticate

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:<type> realm=<realm>

Directives:

  • <type>: This value is just one of the authentication types.
  • realm=<realm>: This value is used give a description of protected area or the extent. A formatted host name is displayed if no realm is specified.

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 Browers: The following browsers are compatible to HTTP Proxy-Authenticate header:

  • Google Chrome
  • Firefox
  • Opera
My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :

1


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.