V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
wcsjtu
V2EX  ›  问与答

浏览器什么时候会在 http 头部中添加 proxy-connection: keepalive

  •  
  •   wcsjtu · Nov 30, 2017 · 2187 views
    This topic created in 3072 days ago, the information mentioned may be changed or developed.

    对于 http 代理服务器来说, 浏览器发过来的 proxy-connection: keepalive 意味着什么?

    C <--------> P <---------> S

    http 代理服务器接收到这样的头部后,是要同时保持 CP、PS 连接,还是只用保持 CP 连接就行了?

    还有另外一个问题,浏览器发给 http 代理的请求, 都是下面这样的么?

    GET http://www.163.com/ HTTP/1.1
    User-Agent: blabla
    Host: www.163.com
    
    

    还是会出现起始行不包含 host, 只有 uri 的报文

    GET / HTTP/1.1
    Host: www.163.com
    
    
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2769 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 54ms · UTC 15:36 · PVG 23:36 · LAX 08:36 · JFK 11:36
    ♥ Do have faith in what you're doing.