Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
515 views
in Technique[技术] by (71.8m points)

browser - Which webbrowsers use http/1.1 by default?

Anyone have an idea where can I look up that information? I'm pretty sure that IE 4 has the "Use HTTP 1.1" parameter on by default and the "Use HTTP 1.1 through proxy connections" off. Got this information from here. I assume the later versions would have "Use HTTP 1.1" on too. How about older versions of IE? How about Firefox, Opera, Safari etc?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

All common desktop browsers (Netscape/Mozilla, Internet Explorer, et al) in the last 10-13 years support HTTP/1.1. Internet Explorer 3.0 and Netscape 2.0 supported it as far back as at least 1996 (Wikipedia agrees with this).

Of particular note is that HTTP/1.1 is required for the HTTP HOST header, which is required if you want to serve different websites for different domains on a single IP address. As such if an HTTP client didn't support it, the user would be unable to access many websites.

I encountered an old smartphone browser that didn't support it about 9 years ago, but that's the last example I can think of where I'd even heard of an HTTP client that didn't.

I'd say that lack of client support for HTTP/1.1 does not need to be a real consideration today even if your doing something fairly esoteric (although I still remember it being a technical support headache over 10 years ago, trying to get people to upgrade from Netscape 1.x).

If you are writing a proxy you might want to think about it, but really even then I can't see it causing any real world problems as it's so fundamental to modern browsing. If someone is are running a browser as old (or as limited) as Mosaic 1.0 or Netscape 1.1 then they probably have bigger problems accessing content.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...