Changeset 1262


Ignore:
Timestamp:
Apr 6, 2011, 6:29:00 PM (9 years ago)
Author:
mnot@…
Message:

Clarify comparison function for If-* headers (see #269).

Location:
draft-ietf-httpbis/latest
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p4-conditional.html

    r1260 r1262  
    359359  }
    360360  @bottom-center {
    361        content: "Expires October 7, 2011";
     361       content: "Expires October 9, 2011";
    362362  }
    363363  @bottom-right {
     
    404404      <meta name="dct.creator" content="Reschke, J. F.">
    405405      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p4-conditional-latest">
    406       <meta name="dct.issued" scheme="ISO8601" content="2011-04-05">
     406      <meta name="dct.issued" scheme="ISO8601" content="2011-04-07">
    407407      <meta name="dct.replaces" content="urn:ietf:rfc:2616">
    408408      <meta name="dct.abstract" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 4 of the seven-part specification that defines the protocol referred to as &#34;HTTP/1.1&#34; and, taken together, obsoletes RFC 2616. Part 4 defines request header fields for indicating conditional requests and the rules for constructing responses to those requests.">
     
    430430            </tr>
    431431            <tr>
    432                <td class="left">Expires: October 7, 2011</td>
     432               <td class="left">Expires: October 9, 2011</td>
    433433               <td class="right">J. Mogul</td>
    434434            </tr>
     
    487487            <tr>
    488488               <td class="left"></td>
    489                <td class="right">April 5, 2011</td>
     489               <td class="right">April 7, 2011</td>
    490490            </tr>
    491491         </tbody>
     
    513513         in progress”.
    514514      </p>
    515       <p>This Internet-Draft will expire on October 7, 2011.</p>
     515      <p>This Internet-Draft will expire on October 9, 2011.</p>
    516516      <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1>
    517517      <p>Copyright © 2011 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
     
    936936      </p>
    937937      <div id="rfc.figure.u.9"></div><pre class="inline"><span id="rfc.iref.g.6"></span>  <a href="#header.if-match" class="smpl">If-Match</a> = "*" / 1#<a href="#header.etag" class="smpl">entity-tag</a>
    938 </pre><p id="rfc.section.3.1.p.3">If any of the entity-tags listed in the If-Match field value match the entity-tag of the selected representation for the target
    939          resource, or if "*" is given and any current representation exists for the target resource, then the server <em class="bcp14">MAY</em> perform the request method as if the If-Match header field was not present.
     938</pre><p id="rfc.section.3.1.p.3">If any of the entity-tags listed in the If-Match field value match (as per <a href="#entity.tag.comparison" title="Comparison">Section&nbsp;2.2.3</a>) the entity-tag of the selected representation for the target resource, or if "*" is given and any current representation
     939         exists for the target resource, then the server <em class="bcp14">MAY</em> perform the request method as if the If-Match header field was not present.
    940940      </p>
    941941      <p id="rfc.section.3.1.p.4">If none of the entity-tags match, or if "*" is given and no current representation exists, the server <em class="bcp14">MUST NOT</em> perform the requested method. Instead, the server <em class="bcp14">MUST</em> respond with the 412 (Precondition Failed) status code.
     
    966966      </p>
    967967      <div id="rfc.figure.u.11"></div><pre class="inline"><span id="rfc.iref.g.7"></span>  <a href="#header.if-none-match" class="smpl">If-None-Match</a> = "*" / 1#<a href="#header.etag" class="smpl">entity-tag</a>
    968 </pre><p id="rfc.section.3.2.p.4">If any of the entity-tags listed in the If-None-Match field-value match the entity-tag of the selected representation, or
    969          if "*" is given and any current representation exists for that resource, then 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 304 (Not Modified) status code, including the cache-related header fields (particularly ETag) of the selected
     968</pre><p id="rfc.section.3.2.p.4">If any of the entity-tags listed in the If-None-Match field-value match (as per <a href="#entity.tag.comparison" title="Comparison">Section&nbsp;2.2.3</a>) the entity-tag of the selected representation, or if "*" is given and any current representation exists for that resource,
     969         then 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 304 (Not Modified) status code, including the cache-related header fields (particularly ETag) of the selected
    970970         representation that has a matching entity-tag. For all other request methods, the server <em class="bcp14">MUST</em> respond with a 412 (Precondition Failed) status code.
    971971      </p>
     
    13881388         </li>
    13891389         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/276">http://tools.ietf.org/wg/httpbis/trac/ticket/276</a>&gt;: "untangle ABNFs for header fields"
     1390         </li>
     1391         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/269">http://tools.ietf.org/wg/httpbis/trac/ticket/269</a>&gt;: "ETags and Quotes"
    13901392         </li>
    13911393      </ul>
  • draft-ietf-httpbis/latest/p4-conditional.xml

    r1260 r1262  
    788788<t>
    789789   If any of the entity-tags listed in the If-Match field value match
    790    the entity-tag of the selected representation for the target resource,
     790   (as per <xref target="entity.tag.comparison"/>) the entity-tag of the
     791   selected representation for the target resource,
    791792   or if "*" is given and any current representation exists for the
    792793   target resource, then the server &MAY; perform the request method
     
    847848<t>
    848849   If any of the entity-tags listed in the If-None-Match field-value match
    849    the entity-tag of the selected representation, or if "*" is
     850   (as per <xref target="entity.tag.comparison"/>) the entity-tag of the
     851   selected representation, or if "*" is
    850852   given and any current representation exists for that resource, then the
    851853   server &MUST-NOT; perform the requested method.
     
    17261728      "untangle ABNFs for header fields"
    17271729    </t>
     1730    <t>
     1731      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/269"/>:
     1732      "ETags and Quotes"
     1733    </t>
    17281734  </list>
    17291735</t>
  • draft-ietf-httpbis/latest/p5-range.html

    r1260 r1262  
    359359  }
    360360  @bottom-center {
    361        content: "Expires October 7, 2011";
     361       content: "Expires October 9, 2011";
    362362  }
    363363  @bottom-right {
     
    406406      <meta name="dct.creator" content="Reschke, J. F.">
    407407      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p5-range-latest">
    408       <meta name="dct.issued" scheme="ISO8601" content="2011-04-05">
     408      <meta name="dct.issued" scheme="ISO8601" content="2011-04-07">
    409409      <meta name="dct.replaces" content="urn:ietf:rfc:2616">
    410410      <meta name="dct.abstract" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 5 of the seven-part specification that defines the protocol referred to as &#34;HTTP/1.1&#34; and, taken together, obsoletes RFC 2616. Part 5 defines range-specific requests and the rules for constructing and combining responses to those requests.">
     
    432432            </tr>
    433433            <tr>
    434                <td class="left">Expires: October 7, 2011</td>
     434               <td class="left">Expires: October 9, 2011</td>
    435435               <td class="right">J. Mogul</td>
    436436            </tr>
     
    489489            <tr>
    490490               <td class="left"></td>
    491                <td class="right">April 5, 2011</td>
     491               <td class="right">April 7, 2011</td>
    492492            </tr>
    493493         </tbody>
     
    515515         in progress”.
    516516      </p>
    517       <p>This Internet-Draft will expire on October 7, 2011.</p>
     517      <p>This Internet-Draft will expire on October 9, 2011.</p>
    518518      <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1>
    519519      <p>Copyright © 2011 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
Note: See TracChangeset for help on using the changeset viewer.