c# - What content-type do I use for http response headers that contain a file attachment of unknown file type? -


right not specifying , system defaulting text/html causing not results downloading movie on iphone giving me massive block of text large crashes browser example. content-type should use? literally file type attachment. content-disposition attachment.

use application/octet-stream.


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -