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# - Making TableLayoutPanel Act Like An HTML Table (Cells That Resize Automatically Around Text) -