[PATCHv2] httpd: add option to send files using gzip content-encoding if available
Peter Korsgaard
jacmet at sunsite.dk
Sat Jul 24 13:09:57 UTC 2010
>>>>> "Vladimir" == Vladimir Dronnikov <dronnikov at gmail.com> writes:
>> Accept-Encoding:
Vladimir> Just FYI, Internet Explorer <7 sends Accept-Encoding: gzip
Vladimir> but cannot correctly process gzipped response. You should
Vladimir> analyze also User-Agent: and conditionally skip gzipping.
Really? I have an IE6 running here in wine, and it seems to work ok:
GET /jquery.ui.js HTTP/1.1
Accept: */*
Referer: http://127.0.0.1/
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
Host: 127.0.0.1
Connection: Keep-Alive
HTTP/1.0 200 OK
Content-type: application/octet-stream
Date: Sat, 24 Jul 2010 13:07:03 GMT
Connection: close
Accept-Ranges: bytes
Last-Modified: Tue, 18 May 2010 11:36:19 GMT
Transfer-length: 46058
Content-Encoding: gzip
....N.IL..jquery.ui.js..<ks......
And the javascript works ok.
--
Bye, Peter Korsgaard
More information about the busybox
mailing list