Internet Explorer 7 is supposed to support
deflate encoding. Right? Despite the support advertised via the
Accept-Encoding header, I noticed it does only support
gzip encoding, but not
Internet Explorer 7 sends an
Accept-Encoding header with the value
gzip, deflate. But if I return the response
Internet Explorer 7 chokes in it. I was surprised by this. But if I change the encoding to
gzip it is able to process the response. Per an MSDN blog post, IE7 is supposed to support both these encodings.
Hmm. The issue is that, for the sake of speed, I am storing GPS logs
deflateed in the database, and would like to serve it as it is to browsers, without having to let my Apache compress it on every request. This works with Safari, Opera, and Firefox, but not Internet Explorer 7. Oh well!
Here is what IE 7 says.
and here is what Firefox 2.0 says.
Mike’s example in the comments disagrees with this. Too packed today to resolve this.
Per Eric’s comment below, IE7 should deal with
deflated responses fine. However, it did not, in my case. After spending a weekend on this problem, I sent my logs to Eric, who kindly volunteered to take a look.