Spec-Zone.ru › HTTP

Status: 407

407 Proxy Authentication Required

The HTTP 407 Proxy Authentication Required client error response status code indicates that the request did not succeed because it lacks valid authentication credentials for the proxy server that sits between the client and the server with access to the requested resource.

This response is sent with a Proxy-Authenticate header that contains information on how to correctly authenticate requests. The client may repeat the request with a new or replaced Proxy-Authorization header field.

Status

407 Proxy Authentication Required

Examples

>

Proxy auth

A GET request is made to example.com/admin:

GET /admin HTTP/1.1
Host: example.com

Along the way, an intermediary lets the client know that clients must be authenticated and provides information about the authentication scheme:

HTTP/1.1 407 Proxy Authentication Required
Date: Wed, 21 Oct 2015 07:28:00 GMT
Proxy-Authenticate: Basic realm="Access to internal site"

Specifications

Specification
Unknown specification>
# status.407>

See also

  • HTTP response status codes
  • HTTP authentication
  • WWW-Authenticate
  • Authorization
  • Proxy-Authorization
  • Proxy-Authenticate
  • 401, 403

© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/407

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API