Posted by Leif K-Brooks on 10/17/06 22:35
kdarling@basit.com wrote:
> If you can change the HTTP settings on the server, set the Content-Type
> in the reply header to be "application/octet-stream". Most browsers
> will then give the user the chance of saving it.
What do you think your tricky little scheme will do to a browser that
uses the Content-Type header to determine what type metadata (extension,
OSTYPE, UTI, on-disk MIME type, whatever) is stored with the file?
application/octet-stream should only be used when your data is really
nothing more specific than a stream of octets.
[Back to original message]
|