Compare Revisions

Content-Disposition

Change Revisions

Revision 1088445:

Revision 1088445 by teoli on

Revision 1088477:

Revision 1088477 by teoli on

Title:
Content-Disposition
Content-Disposition
Slug:
Web/HTTP/Headers/Content-Disposition
Web/HTTP/Headers/Content-Disposition
Tags:
"HTTP" "Reference" "header"
"HTTP" "Reference" "header"
Comment:
+ final boundary
+ example
Content:

Revision 1088445
Revision 1088477
tt89    <p>
90      A response trigerring the Save As dialog:
91    </p>
92    <pre>
93200 OK
94Content-Type: text/html; charset=utf-8
95Content-Disposition: attachment
96Content-Length: 22
97 
98&lt;HTML&gt;Save me!&lt;/HTML&gt;
99 
100</pre>
101    <p>
102      This simple HTML file will be saved as a regular download r
 >ather than displayed in the browser, also it is an HTML files.
103    </p>
104    <p>
105      An example of HTML form, posted using the <code>multipart/f
 >orm-data</code> format that makes use of the <code>Content-Dispos
 >ition</code> header:
106    </p>

Back to History