2015-11-06 21:39:33 +01:00
---
set: 4
code: 407
title: Proxy Authentication Required
2015-11-07 05:34:40 +01:00
references:
"Rails HTTP Status Symbol": ":proxy_authentication_required"
2016-01-27 23:08:33 +01:00
"Go HTTP Status Constant": "http.StatusProxyAuthRequired"
2016-04-19 15:19:17 +02:00
"Symfony HTTP Status Constant": "Response::HTTP_PROXY_AUTHENTICATION_REQUIRED"
2016-05-22 01:07:17 +02:00
"Python2 HTTP Status Constant": "httplib.PROXY_AUTHENTICATION_REQUIRED"
"Python3+ HTTP Status Constant": "http.client.PROXY_AUTHENTICATION_REQUIRED"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.PROXY_AUTHENTICATION_REQUIRED"
2015-11-06 21:39:33 +01:00
---
2016-04-23 02:12:07 +02:00
Similar to [401 Unauthorized ](/401 ), but it indicates that the client needs to authenticate itself in order to use a proxy.
2015-11-07 06:45:46 +01:00
2016-04-23 02:12:07 +02:00
The proxy MUST send a Proxy-Authenticate header field< sup > [1](#ref-1)< / sup > containing a challenge applicable to that proxy for the target resource. The client MAY repeat the request with a new or replaced Proxy-Authorization header field< sup > [2](#ref-2)< / sup > .
2015-11-07 05:34:40 +01:00
2015-11-09 02:44:05 +01:00
---
* < span id = "ref-1" >< sup > 1</ sup > Proxy-Authenticate
[RFC7235 Section 4.3][2]< / span >
* < span id = "ref-2" >< sup > 2</ sup > Proxy-Authorization
[RFC7235 Section 4.4][3]< / span >
* Source: [RFC7235 Section 3.2][1]
2015-11-07 05:34:40 +01:00
[1]: < http: / / tools . ietf . org / html / rfc7235 # section-3 . 2 >
[2]: < http: / / tools . ietf . org / html / rfc7235 # section-4 . 3 >
2016-01-27 23:08:33 +01:00
[3]: < http: / / tools . ietf . org / html / rfc7235 # section-4 . 4 >