Are there any use to limit yourself to HTTP1.0?
I've been put in charge of building some tools to help end-user test why their browser might not work with a website.
Among the reason I was given to why it might not work there was this "require HTTP1.1" line. I've looked through most browser options and only IE (version 6 and up, even 9) allow you to disable HTTP1.1.
Are there any use to be able to restrict yourself to htt开发者_运维百科p1.0?
Generally speaking, no, you don't ever want the client to only offer HTTP/1.0, as this will slow things down.
Some servers will intentionally use HTTP/1.0 with a Keep-Alive header on some responses because certain browsers (e.g. IE6/IE7) will allow more parallel connections for HTTP/1.0 (four) vs. HTTP/1.1 (two).
精彩评论