cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject "Vary: Host" in ResourceReader breaks IE
Date Mon, 12 Sep 2005 15:47:16 GMT
Hi all,

I found an annoying thing today. The following straightforward sitemap 
statement, which is intended to download a zip file, leads IE to display 
an error message when the users tries to open Winzip from IE (saving the 
file on disk is ok):
    <map:read src="foo.zip" mime-type="application/x-zip-compressed"/>

After some protocol-level debugging, it appears to be caused by the 
"Vary: Host" header that is added by the ResourceReader, which leads to 
an error message in IE. This bug has been identified in 1999 [1]!!!

Now it seems that this header was added to work around an IE cache bug 
[2] about which no details are given.

So the fix to the unknown cache problem leads to falling into another IE 
bug. Can someone explain the reason for the Vary header? If not, I'd 
like to remove it so that downloads work again...

Sylvain

[1] http://archive.apache.org/gnats/4118
[2] http://issues.apache.org/bugzilla/show_bug.cgi?id=14048

-- 
Sylvain Wallez                        Anyware Technologies
http://people.apache.org/~sylvain     http://www.anyware-tech.com
Apache Software Foundation Member     Research & Technology Director


Mime
View raw message