[gollem] MIME type with file download

Chuck Hagenbuch chuck at horde.org
Wed Oct 1 06:21:52 PDT 2003


Quoting Eric Rostetter <eric.rostetter at physics.utexas.edu>:

> Yes, but then the browser would open the file if it knows the type, rather
> than downloading it as intended...

No, that's what the rest of the code in $browser->downloadHeaders() is for - IE
gets a different content-type, and Mozilla actually respects
Content-Disposition: attachment.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
Born right the first time.


More information about the gollem mailing list