3 ms·
In regards to the Host header. One thing that always seemed awkward to me is that the request line can contain the full URI on proxies but not for end-points. I
by zimbatm 12y ago
In regards to the Host header. One thing that always seemed awkward to me is that the request line can contain the full URI on proxies but not for end-points. I suppose for backward-compatibility.
Instead of: "GET /some/path HTTP/1.1\r\nHost: example.com"
We could have: "GET http://example.com/some/path http://example.com/some/path HTTP/2.0\r\n"
https://tools.ietf.org/html/rfc2616#section-5.1 https://tools.ietf.org/html/rfc2616#section-5.1
- nly 12y agoIf you merged the transports (for example, everything was over HTTPS), we could just have "GET example.com/some/path HTTP/2.0\r\n"
- zimbatm 12y agoYes, and then add SCTP (over UDP) and we have most of SPDY's benefits :) As they say, if the protocol's not supported, HTTP 1.1 fallback is always supported.