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

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

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

openssl - Load PKCS#8 binary key into Ruby -