11.07.2015 Views

Network Working Group R. Fielding Request for Comments: 2616 ...

Network Working Group R. Fielding Request for Comments: 2616 ...

Network Working Group R. Fielding Request for Comments: 2616 ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

disposition-type *( ";" disposition-parm )disposition-type = "attachment" | disp-extension-tokendisposition-parm = filename-parm | disp-extension-parmfilename-parm = "filename" "=" quoted-stringdisp-extension-token = tokendisp-extension-parm = token "=" ( token | quoted-string )An example isContent-Disposition: attachment; filename="fname.ext"The receiving user agent SHOULD NOT respect any directory pathin<strong>for</strong>mation present in the filename-parm parameter, which is the onlyparameter believed to apply to HTTP implementations at this time. Thefilename SHOULD be treated as a terminal component only.If this header is used in a response with the application/octetstreamcontent-type, the implied suggestion is that the user agentshould not display the response, but directly enter a `save responseas...' dialog.See section 15.5 <strong>for</strong> Content-Disposition security issues.19.6 Compatibility with Previous VersionsIt is beyond the scope of a protocol specification to mandatecompliance with previous versions. HTTP/1.1 was deliberatelydesigned, however, to make supporting previous versions easy. It isworth noting that, at the time of composing this specification(1996), we would expect commercial HTTP/1.1 servers to:- recognize the <strong>for</strong>mat of the <strong>Request</strong>-Line <strong>for</strong> HTTP/0.9, 1.0, and1.1 requests;<strong>Fielding</strong>, et al. Standards Track [Page 170]RFC <strong>2616</strong> HTTP/1.1 June 1999- understand any valid request in the <strong>for</strong>mat of HTTP/0.9, 1.0, or1.1;- respond appropriately with a message in the same major versionused by the client.And we would expect HTTP/1.1 clients to:- recognize the <strong>for</strong>mat of the Status-Line <strong>for</strong> HTTP/1.0 and 1.1responses;

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!