Open In App

HTTP headers | Proxy-Authorization

Last Updated : 31 Oct, 2019
Improve
Improve
Like Article
Like
Save
Share
Report

The HTTP Proxy_Authorization header is a request type of header. This header contains the credentials to authenticate between the user agent and the user-specified server. When the server responded with 407 proxy Authentication Required status that brings the authentication between the user agent and the server.

Syntax:

Proxy-Authorization: <type> <credentials>

Directives: This header accepts two directives as mentioned above and described below:

  • <type>: This directive tells the type of authentication. The common type is the “Basic”.
  • <credentials>: This is the base64 encoded resulting string. The credentials constructed like username and password are combined with a colon like (Username:password).

Example:

Proxy-Authorization: Basic 6dc7dbfe151046f2be8fc383a9abb147

This example has Proxy-Authorization which has the type Basic and the credentials as the above.

To check this Proxy-Authorization in action go to Inspect Element -> Network check the request header for Proxy-Authorization.

Supported Browsers The browsers compatible with HTTP Proxy-Authorization header are listed below:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Opera
  • Safari

Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads