note 71993 deleted from function.header by danbrown
| From: | danbrown@php.net | Date: | Sun, 07 Dec 2008 18:17:37 +0000 |
| Subject: | note 71993 deleted from function.header by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-147821@lists.php.net to get a copy of this message | ||
Note Submitter: Hayley Watson
----
If you wish to force a file to be downloaded and saved, instead of being rendered, remember that
there is no such MIME type as "application/force-download". The correct type to use in
this situation is "application/octet-stream", and using anything else is merely relying on
the fact that clients are supposed to ignore unrecognised MIME types and use
"application/octet-stream" instead (reference: Sections 4.1.4 and 4.5.1 of RFC 2046).