On 10/19/2011 02:00 PM, NoOp wrote: ... > Interesting results from different browsers (linux): > http://www.delorie.com:81/some/url.txt > > SeaMonkey: > GET /some/url.txt HTTP/1.1 > Host: www.delorie.com:81 > User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111012 > Firefox/8.0 SeaMonkey/2.5 Lightning/1.0b8pre > Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 > Accept-Language: en-us,en;q=0.5 > Accept-Encoding: gzip, deflate > DNT: 1 > Connection: keep-alive > > Chromium: > GET /some/url.txt HTTP/1.1 > Host: www.delorie.com:81 > Connection: keep-alive > User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.1 (KHTML, like > Gecko) Ubuntu/10.10 Chromium/14.0.835.202 Chrome/14.0.835.202 Safari/535.1 > Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 > Accept-Encoding: gzip,deflate,sdch > Accept-Language: en-US,en;q=0.8 > Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 > > Google Chrome: > GET /some/url.txt HTTP/1.1 > Host: www.delorie.com:81 > Connection: keep-alive > User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.1 (KHTML, like > Gecko) Chrome/14.0.835.202 Safari/535.1 > Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 > Accept-Encoding: gzip,deflate,sdch > Accept-Language: en-US,en;q=0.8 > Accept-Charset: UTF-8,*;q=0.5 > > Opera: > GET /some/url.txt HTTP/1.1 > User-Agent: Opera/9.80 (X11; Linux i686; U; en) Presto/2.9.168 Version/11.52 > Host: www.delorie.com:81 > Accept: text/html, application/xml;q=0.9, application/xhtml+xml, > image/png, image/webp, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1 > Accept-Language: en-US,en;q=0.9 > Accept-Encoding: gzip, deflate > Connection: Keep-Alive > > Firefox: > GET /some/url.txt HTTP/1.1 > Host: www.delorie.com:81 > User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20100101 > Firefox/7.0.1 > Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 > Accept-Language: en-us,en;q=0.5 > Accept-Encoding: gzip, deflate > Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 > Connection: keep-alive >
IE8: GET /some/url.txt HTTP/1.1 Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, application/x-silverlight, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */* Accept-Language: en-us User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Accept-Encoding: gzip, deflate Host: www.delorie.com:81 Connection: Keep-Alive [Sorry for going OT] I wondered why the: User-Agent: Mozilla/4.0 part in that string. http://msdn.microsoft.com/en-us/library/ms537503%28v=vs.85%29.aspx "Application name and version. For historical reasons, Internet Explorer identifies itself as a Mozilla browser." <http://en.wikipedia.org/wiki/Mozilla#Part_of_the_.22user_agent_string.22_of_many_browsers> <quote> Because the Netscape browser initially implemented many features not available in other browsers and quickly came to dominate the market, a number of web sites were designed to work, or work fully, only when they detected an appropriate version of Mozilla in the user agent string. Thus, competing browsers began to emulate ("cloak" or "spoof") this string in order to also work with those sites. The earliest example of this is Internet Explorer's use of a user agent string beginning "Mozilla/<version> (compatible; MSIE <version>...", in order to receive content intended for Netscape, its main rival at the time of its development. This format of user agent string has since been copied by other user agents, and persisted even after Internet Explorer came to dominate the browser market. </quote> Amazing... yet we have to spoof as 'Firefox' these days: User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111012 Firefox/8.0 SeaMonkey/2.5 _______________________________________________ support-seamonkey mailing list [email protected] https://lists.mozilla.org/listinfo/support-seamonkey

