Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.63 KB

File metadata and controls

47 lines (32 loc) · 1.63 KB
title slug
Proxy-Authenticate
Web/HTTP/Headers/Proxy-Authenticate

{{HTTPSidebar}}

The HTTP Proxy-Authenticate 是一个响应首部,指定了获取 {{Glossary("proxy server")}}(代理服务器)上的资源访问权限而采用的身份验证方式。代理服务器对请求进行验证,以便它进一步传递请求。

Proxy-Authenticate 首部需要与 {{HTTPStatus("407")}} Proxy Authentication Required 响应一起发送。

Header type {{Glossary("Response header")}}
{{Glossary("Forbidden header name")}} no

语法

Proxy-Authenticate: <type> realm=<realm>

指令

示例

Proxy-Authenticate: Basic

Proxy-Authenticate: Basic realm="Access to the internal site"

规范

{{Specifications}}

参见

  • HTTP authentication
  • {{HTTPHeader("Authorization")}}
  • {{HTTPHeader("Proxy-Authorization")}}
  • {{HTTPHeader("WWW-Authenticate")}}
  • {{HTTPStatus("401")}}, {{HTTPStatus("403")}}, {{HTTPStatus("407")}}