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++ - Convert big endian to little endian when reading from a binary file -

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

unicode - Are email addresses allowed to contain non-alphanumeric characters? -