[gollem] MIME type with file download

Eric Rostetter eric.rostetter at physics.utexas.edu
Wed Oct 1 10:37:10 PDT 2003


Quoting Chuck Hagenbuch <chuck at horde.org>:

> 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

Ah, okay.  But we'd need to know this for all browsers, no?  So maybe a
new browser/feature as to whether the browser will support content-disposition
correctly for downloads?

--
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!


More information about the gollem mailing list