HTTP Content-Disposition Header

By: Dusty Arlia
Published on Monday, June 23, 2014, 07:46 PM
Last Updated on Saturday, July 11, 2015 at 12:53 PM
Total Updates: 2

The Content-Disposition HTTP header opens a "File Download" dialogue box for a known MIME type with binary format or suggest a filename for dynamic content. Quotes are necessary for special characters. Here is an example:

Content-Disposition: attachment; filename="fname.ext"