Jason Baker wrote:
> 
> Guenther Blatzheim wrote:
> >
> > At 12:02 27.09.2000 -0400, you wrote:
> > >On Wed, 27 Sep 2000, Guenther Blatzheim wrote:
> > >
> > > > Unfortunatly we made the same bad experiences with attachment downloads
> > > > using MSIE. Version 4 or 5.x doesn't matter. Netscape was fine in any
> > > version.
> > > >
> > > > The problem is cause by the cache control headers ("no-cache" /
> > > "no-store")
> > > > in the download page.
> > > >
> > > > Solution: In /cgi/cginocache.c change "no-cache" -> "private" and
> > > > "no-store" -> "private".
> > > >
> > > > After recompiling even MSIE downloads should work correct. Tested with
> > > > sqwebmail-1.0
> > >
> > >Unfortunately, Cache-Control: no-cache and Cache-Control: no-store headers
> > >are explicitly specified in RFC 2068, Hypertext Transfer Protocol, version
> > >1.1.
> > >
> > >File a bug report with Microsoft for not shipping an HTTP/1.1 compliant
> > >browser.
> >
> > Agree!
> >
> > Nevertheless it works after the change with both: MSIE and Netscape.
> >
> > So users are satisfied for the moment (while waiting for a correct working
> > MSIE...).
> 
> I agree as well... but sometimes Mohammed must go to the mountain,
> rather than complain about the mountain's inability to play nice. ;)
> 
> Could we perhaps get this as an ifdef'd configure option?  Something
> like --enable-workarounds-for-crappy-redmond-code? :)
> 
> Although, it does seem to break something if https is enabled.  I get an
> incomplete headers error... nothing more explicit. :/  Does anyone
> recall the proper way to run a CGI from the command line for testing
> purposes?  I haven't had my coffee yet, and it's showing.

Well, I don't agree with this approach! As Mr. Sam said once:
(I couldn't find this msg in the archives! Why?)

> Subject: Problems with Internet Explorer and attachments.
>    Date: Tue, 19 Sep 2000 21:48:30 -0400 (EDT)
>    From: Sam Varshavchik <[EMAIL PROTECTED]>
>      To: [EMAIL PROTECTED]
> 
> It appears that this is indeed a bug in MSIE's implementation of HTTP/1.1
> 
> Add the following directive to httpd.conf, to force apache to downgrade to
> HTTP/1.0 for Internet Explorer:
> 
> BrowserMatch "MSIE [45]" nokeepalive downgrade-1.0 force-response-1.0
>
> -- 
> Sam

This is a problem of the HTTP client. If the browser handles the HTTP
responses badly it is not a HTTPD or cgi problem.

But,

if one wants to 'go to the mountain' one should make the HTTPD do that
for all HTTP client which doesn't work, not the cgi.

Well, who knows... It's just my two cents. If you think MSIE only treats
sqwebmail response headers badly do the source code trick. If you think
it realy doesn't work for HTTP/1.1 do the Apache trick.

--------------------------------------------------------------------
Daniel Augusto Fernandes (DAF tm)               [EMAIL PROTECTED]
GCSNet                                    http://www.gcsnet.com.br/
--------------------------------------------------------------------
                     Se voc� n�o encontra
                     o sentido das coisas
                     � porque este n�o
                     se encontra, se cria.
                                   Antoine Saint-Exup�ry

Reply via email to