代理身份驗證
HTTP 的 Proxy-Authenticate 響應標頭定義了用於訪問代理伺服器後面的資源的身份驗證方法。它對代理伺服器進行身份驗證,允許它進一步傳輸請求。
Proxy-Authenticate 標頭與 407 Proxy Authentication Required 一起傳送。
語法
http
Proxy-Authenticate: <type> realm=<realm>
指令
- <type>
- realm=<realm>
-
受保護區域的描述,即領域。如果未指定領域,客戶端通常會顯示格式化的主機名。
示例
http
Proxy-Authenticate: Basic
Proxy-Authenticate: Basic realm="Access to the internal site"
規範
| 規範 |
|---|
| HTTP 語義 # field.proxy-authenticate |
瀏覽器相容性
BCD 表格僅在瀏覽器中載入