?
This document uses PHP Chinese website manual Release
HTTP Proxy-Authenticate
響應(yīng)標(biāo)頭定義了應(yīng)該用來訪問代理服務(wù)器后面的資源的認(rèn)證方法。它驗(yàn)證對(duì)代理服務(wù)器的請(qǐng)求,允許它進(jìn)一步傳輸請(qǐng)求。
所述Proxy-Authenticate
報(bào)頭與一個(gè)一起發(fā)送407
Proxy Authentication Required
。
Header type | Response header |
---|---|
Forbidden header name | no |
Proxy-Authenticate: <type> realm=<realm>
<type>認(rèn)證類型。常見的類型是“基本”。IANA 維護(hù)一個(gè)認(rèn)證方案列表 .realm = <realm> 對(duì)保護(hù)區(qū)域的描述。如果未指定領(lǐng)域,則客戶端通常會(huì)顯示格式化的主機(jī)名稱。
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