Are there any use to limit yourself to HTTP1.0?

删除回忆录丶 提交于 2019-12-14 02:17:13

问题


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 http1.0?


回答1:


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).



来源:https://stackoverflow.com/questions/6257470/are-there-any-use-to-limit-yourself-to-http1-0

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!