?
? ????? PHP ??? ???? ??? ?? ??
Via
一般報(bào)頭由代理加入,正向和反向代理,并且可以在請(qǐng)求頭和響應(yīng)標(biāo)頭出現(xiàn)。它用于跟蹤消息轉(zhuǎn)發(fā),避免請(qǐng)求循環(huán),并識(shí)別請(qǐng)求/響應(yīng)鏈中發(fā)送者的協(xié)議功能。
Header type | General header |
---|---|
Forbidden header name | yes |
Via: [ <protocol-name> "/" ] <protocol-version> <host> [ ":" <port> ]or Via: [ <protocol-name> "/" ] <protocol-version> <pseudonym>
<協(xié)議名稱>可選。所使用協(xié)議的名稱,如 “HTTP”。<protocol-version> 所用協(xié)議的版本,例如“1.1”。<host> 和 <port> 公共代理 URL 和端口 <pseudonym> 名稱/別名的內(nèi)部代理人。
Via: 1.1 vegur Via: HTTP/1.1 GWA Via: 1.0 fred, 1.1 p.example.net
Specification | Title |
---|---|
RFC 7230, section 5.7.1: Via | Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing |
Feature | Chrome | Firefox | Edge | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|---|
Basic Support | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) |
Feature | Android | Chrome for Android | Edge mobile | Firefox for Android | IE mobile | Opera Android | iOS Safari |
---|---|---|---|---|---|---|---|
Basic Support | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) |