Changeset 2131 for draft-ietf-httpbis/latest
- Timestamp:
- 19/01/13 15:01:51 (10 years ago)
- Location:
- draft-ietf-httpbis/latest
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/p4-conditional.html
r2130 r2131 941 941 <div id="rfc.figure.u.8"></div><pre class="inline"><span id="rfc.iref.g.7"></span> <a href="#header.if-match" class="smpl">If-Match</a> = "*" / 1#<a href="#header.etag" class="smpl">entity-tag</a> 942 942 </pre><p id="rfc.section.3.1.p.4">The If-Match condition is met if and only if any of the entity-tags listed in the If-Match field value match the entity-tag 943 of the selected representation for the target resource(as per <a href="#entity.tag.comparison" title="Comparison">Section 2.3.2</a>), or if "*" is given and any current representation exists for the target resource.943 of the selected representation using the weak comparison function (as per <a href="#entity.tag.comparison" title="Comparison">Section 2.3.2</a>), or if "*" is given and any current representation exists for the target resource. 944 944 </p> 945 945 <p id="rfc.section.3.1.p.5">If the condition is met, the server <em class="bcp14">MAY</em> perform the request method. … … 971 971 <div id="rfc.figure.u.10"></div><pre class="inline"><span id="rfc.iref.g.8"></span> <a href="#header.if-none-match" class="smpl">If-None-Match</a> = "*" / 1#<a href="#header.etag" class="smpl">entity-tag</a> 972 972 </pre><p id="rfc.section.3.2.p.5">The If-None-Match condition is met if and only if none of the entity-tags listed in the If-None-Match field value match the 973 entity-tag of the selected representation for the target resource(as per <a href="#entity.tag.comparison" title="Comparison">Section 2.3.2</a>), or if "*" is given and no current representation exists for that resource.973 entity-tag of the selected representation using the weak comparison function (as per <a href="#entity.tag.comparison" title="Comparison">Section 2.3.2</a>), or if "*" is given and no current representation exists for that resource. 974 974 </p> 975 975 <p id="rfc.section.3.2.p.6">If the condition is not met, the server <em class="bcp14">MUST NOT</em> perform the requested method. Instead, if the request method was GET or HEAD, the server <em class="bcp14">SHOULD</em> respond with a <a href="#status.304" class="smpl">304 (Not Modified)</a> status code, including the cache-related header fields (particularly <a href="#header.etag" class="smpl">ETag</a>) of the selected representation that has a matching entity-tag. For all other request methods, the server <em class="bcp14">MUST</em> respond with a <a href="#status.412" class="smpl">412 (Precondition -
draft-ietf-httpbis/latest/p4-conditional.xml
r2130 r2131 671 671 The If-Match condition is met if and only if any of the entity-tags listed 672 672 in the If-Match field value match the entity-tag of the selected 673 representation for the target resource(as per <xref673 representation using the weak comparison function (as per <xref 674 674 target="entity.tag.comparison"/>), or if "*" is given and any current 675 675 representation exists for the target resource. … … 729 729 The If-None-Match condition is met if and only if none of the entity-tags 730 730 listed in the If-None-Match field value match the entity-tag of the selected 731 representation for the target resource(as per <xref731 representation using the weak comparison function (as per <xref 732 732 target="entity.tag.comparison"/>), or if "*" is given and no current 733 733 representation exists for that resource.
Note: See TracChangeset
for help on using the changeset viewer.