- Timestamp:
- 21/02/11 13:36:36 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis-content-disp/latest/draft-ietf-httpbis-content-disp.html
r1134 r1135 551 551 but it does not define special handling of these invalid field-values. 552 552 </p> 553 <p id="rfc.section.3.p.3">Send ing implementations <em class="bcp14">MUST NOT</em> generate Content-Disposition header fields that are invalid.554 </p> 555 <p id="rfc.section.3.p.4"> Consuming implementations <em class="bcp14">MAY</em> take steps to recover a usable field-value from an invalid header field, but <em class="bcp14">SHOULD NOT</em> reject the message outright, unless this is explicitly desirable behaviour (e.g., the implementation is a validator). As such,553 <p id="rfc.section.3.p.3">Senders <em class="bcp14">MUST NOT</em> generate Content-Disposition header fields that are invalid. 554 </p> 555 <p id="rfc.section.3.p.4">Recipients <em class="bcp14">MAY</em> take steps to recover a usable field-value from an invalid header field, but <em class="bcp14">SHOULD NOT</em> reject the message outright, unless this is explicitly desirable behaviour (e.g., the implementation is a validator). As such, 556 556 the default handling of invalid fields is to ignore them. 557 557 </p> … … 596 596 </p> 597 597 <h2 id="rfc.section.4.2"><a href="#rfc.section.4.2">4.2</a> <a id="disposition.type" href="#disposition.type">Disposition Type</a></h2> 598 <p id="rfc.section.4.2.p.1">If the disposition type matches "attachment" (case-insensitively), this indicates that the user agent should prompt the user598 <p id="rfc.section.4.2.p.1">If the disposition type matches "attachment" (case-insensitively), this indicates that the recipient should prompt the user 599 599 to save the response locally, rather than process it normally (as per its media type). 600 600 </p> … … 618 618 more expressive "filename*" parameter, and the "filename" parameter as fallback for legacy recipients (see <a href="#examples" title="Examples">Section 5</a> for an example). 619 619 </p> 620 <p id="rfc.section.4.3.p.5">It is essential that user agents treat the specified filename as advisory only, thus be very careful in extracting the desired620 <p id="rfc.section.4.3.p.5">It is essential that recipients treat the specified filename as advisory only, thus be very careful in extracting the desired 621 621 information. In particular: 622 622 </p> … … 788 788 <ul> 789 789 <li>According to RFC 2616, the disposition type "attachment" only applies to content of type "application/octet-stream". This 790 restriction has been removed, because user agents in practice do not check the content type, and it also discourages properly790 restriction has been removed, because recipients in practice do not check the content type, and it also discourages properly 791 791 declaring the media type. 792 792 </li>
Note: See TracChangeset
for help on using the changeset viewer.