Re[2]: [Mod_gzip] MSIE download component + gzip bug
Walter Hop
mod_gzip@lists.over.net
Sun, 20 Oct 2002 02:03:30 +0200
[in reply to sbizyaye@outlook.net, 20-10-2002]
> It seems VERY interesting.. Could you give us as many details about this
> effect as you have?
I've created an example page to try:
http://www.slik.org/~walter/gziptest/readme.html
> Is that downloader a (standard) plug-in for M$IE? Looks like this way..
I don't really know WHAT it is. :) It is a "behavior" in IE. Here it is:
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/behaviors/reference/behaviors/download.asp
"download Behavior - Downloads a file and notifies a specified callback
function when the download is complete."
> Does it use the parent browser to request data, or it creates the own
> socket?
It has the exact same User-agent as the normal browser from the
access_logs; perhaps it "bypasses" MSIE's content-decoding layer and does a
request directly, then fails on the binary data...
> Does server receive that request (and how it looks like)? What
> happens next?
The startDownload method has a function reference as the 2nd argument. If
everything goes as planned, that javascript function is called with as a
single argument the returned HTTP response (it is intended for text only, I
believe) in a string.
This function call does not happen in one of the four examples on
readme.html in the mentioned two MSIE versions using HTTP/1.1 and no proxy.
Hope this clears something up, it might still be user error on my part
ofcourse, but I've seen it reported by two users on various sites using the
download behavior, the day after I started using mod_gzip for encoding the
results.
Any insight would be appreciated :)
Thanks,
walter.
--
Walter Hop <wh@slik.org> | +31 6 24452020 | PGP keyid 0x84813998