?
Ce document utilise Manuel du site Web PHP chinois Libérer
HTTP Proxy-Authenticate
響應標頭定義了應該用來訪問代理服務器后面的資源的認證方法。它驗證對代理服務器的請求,允許它進一步傳輸請求。
所述Proxy-Authenticate
報頭與一個一起發(fā)送407
Proxy Authentication Required
。
Header type | Response header |
---|---|
Forbidden header name | no |
Proxy-Authenticate: <type> realm=<realm>
<type>認證類型。常見的類型是“基本”。IANA 維護一個認證方案列表 .realm = <realm> 對保護區(qū)域的描述。如果未指定領域,則客戶端通常會顯示格式化的主機名稱。
Proxy-Authenticate: Basic Proxy-Authenticate: Basic realm="Access to the internal site"
Specification | Title |
---|---|
RFC 7235, section 4.3: Proxy-Authenticate | HTTP/1.1: Authentication |
RFC 7617 | The 'Basic' HTTP Authentication Scheme |
HTTP authentication
Authorization
Proxy-Authorization
WWW-Authenticate
401
, 403
, 407