I\'m busy writing a handler to serve various documents for download or presentation in web forms pages. The documents range from various image formats, to PDF, to MS Office
application/octet-stream
is fine for file downloading, but if you want the browser to interact with the file, you might want to change the content type.
For example, the mime-type for downloading a PDF file is application/octet-stream
, while application/pdf
will tell the browser to open the file in the browser itself.
http://en.wikipedia.org/wiki/Internet_media_type