?
This document uses PHP Chinese website manual Release
Via
一般報頭由代理加入,正向和反向代理,并且可以在請求頭和響應標頭出現(xiàn)。它用于跟蹤消息轉發(fā),避免請求循環(huán),并識別請求/響應鏈中發(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> 名稱/別名的內部代理人。
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) |