https://www.oschina.net/translate/websocket-nginx

 

13.5.1 End-to-end and Hop-by-hop Headers

 

For the purpose of defining the behavior of caches and non-caching proxies, we divide HTTP headers into two categories:

 

  • End-to-end headers, which must be transmitted to the ultimate recipient of a request or response. End-to-end headers in responses must be stored as part of a cache entry and transmitted in any response formed from a cache entry.

     

  • Hop-by-hop headers, which are meaningful only for a single transport-level connection, and are not stored by caches or forwarded by proxies.

The following HTTP/1.1 headers are hop-by-hop headers:

 

  • Connection
  • Keep-Alive
  • Public
  • Proxy-Authenticate
  • Transfer-Encoding
  • Upgrade

All other headers defined by HTTP/1.1 are end-to-end headers.

Hop-by-hop headers introduced in future versions of HTTP MUST be listed in a Connection header, as described in section 14.10.

相关文章:

  • 2021-09-28
  • 2021-10-24
  • 2021-06-19
  • 2021-04-24
  • 2021-12-20
  • 2021-09-14
  • 2021-04-15
猜你喜欢
  • 2021-11-03
  • 2022-01-06
  • 2022-03-07
  • 2022-12-23
  • 2021-08-01
  • 2022-12-23
相关资源
相似解决方案