Changeset 1696


Ignore:
Timestamp:
Jun 27, 2012, 8:56:55 AM (7 years ago)
Author:
julian.reschke@…
Message:

Clarify etags, If-Match, and proxies vs origin servers (see #354)

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

Legend:

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

    r1691 r1696  
    449449  }
    450450  @bottom-center {
    451        content: "Expires December 25, 2012";
     451       content: "Expires December 29, 2012";
    452452  }
    453453  @bottom-right {
     
    490490      <meta name="dct.creator" content="Reschke, J. F.">
    491491      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p4-conditional-latest">
    492       <meta name="dct.issued" scheme="ISO8601" content="2012-06-23">
     492      <meta name="dct.issued" scheme="ISO8601" content="2012-06-27">
    493493      <meta name="dct.replaces" content="urn:ietf:rfc:2616">
    494494      <meta name="dct.abstract" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypertext 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.">
     
    516516            </tr>
    517517            <tr>
    518                <td class="left">Expires: December 25, 2012</td>
     518               <td class="left">Expires: December 29, 2012</td>
    519519               <td class="right">J. Reschke, Editor</td>
    520520            </tr>
     
    525525            <tr>
    526526               <td class="left"></td>
    527                <td class="right">June 23, 2012</td>
     527               <td class="right">June 27, 2012</td>
    528528            </tr>
    529529         </tbody>
     
    555555         in progress”.
    556556      </p>
    557       <p>This Internet-Draft will expire on December 25, 2012.</p>
     557      <p>This Internet-Draft will expire on December 29, 2012.</p>
    558558      <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1>
    559559      <p>Copyright © 2012 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
     
    989989         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.
    990990      </p>
    991       <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.
    992       </p>
    993       <p id="rfc.section.3.1.p.5">If the request would, without the If-Match header field, result in anything other than a 2xx or 412 status code, then the
     991      <p id="rfc.section.3.1.p.4">Origin servers <em class="bcp14">MUST NOT</em> perform the requested method if none of the entity-tags match, or if "*" is given and no current representation exists; instead
     992         they <em class="bcp14">MUST</em> respond with the 412 (Precondition Failed) status code.
     993      </p>
     994      <p id="rfc.section.3.1.p.5">Proxy servers using a cached response as the selected representation <em class="bcp14">MUST NOT</em> perform the requested method if none of the entity-tags match, or if "*" is given and no current representation exists; instead,
     995         they <em class="bcp14">MUST</em> forward the request towards the origin server.
     996      </p>
     997      <p id="rfc.section.3.1.p.6">If the request would, without the If-Match header field, result in anything other than a 2xx or 412 status code, then the
    994998         If-Match header field <em class="bcp14">MUST</em> be ignored.
    995999      </p>
    996       <p id="rfc.section.3.1.p.6">Examples:</p>
     1000      <p id="rfc.section.3.1.p.7">Examples:</p>
    9971001      <div id="rfc.figure.u.10"></div><pre class="text">  If-Match: "xyzzy"
    9981002  If-Match: "xyzzy", "r2d2xxxx", "c3piozzzz"
    9991003  If-Match: *
    1000 </pre><p id="rfc.section.3.1.p.8">The result of a request having both an If-Match header field and either an If-None-Match or an If-Modified-Since header field
     1004</pre><p id="rfc.section.3.1.p.9">The result of a request having both an If-Match header field and either an If-None-Match or an If-Modified-Since header field
    10011005         is undefined by this specification.
    10021006      </p>
     
    13431347      <p id="rfc.section.C.1.p.1">Closed issues: </p>
    13441348      <ul>
     1349         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/354">http://tools.ietf.org/wg/httpbis/trac/ticket/354</a>&gt;: "ETags and Conditional Requests"
     1350         </li>
    13451351         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/361">http://tools.ietf.org/wg/httpbis/trac/ticket/361</a>&gt;: "ABNF requirements for recipients"
    13461352         </li>
  • draft-ietf-httpbis/latest/p4-conditional.xml

    r1692 r1696  
    758758</t>
    759759<t>
    760    If none of the entity-tags match, or if "*" is given and no current
    761    representation exists, the server &MUST-NOT; perform the requested method.
    762    Instead, the server &MUST; respond with the 412 (Precondition Failed)
     760   Origin servers &MUST-NOT; perform the requested method if none of the
     761   entity-tags match, or if "*" is given and no current representation
     762   exists; instead they &MUST; respond with the 412 (Precondition Failed)
    763763   status code.
     764</t>
     765<t>
     766   Proxy servers using a cached response as the selected representation
     767   &MUST-NOT; perform the requested method if none of the entity-tags match,
     768   or if "*" is given and no current representation exists; instead, they
     769   &MUST; forward the request towards the origin server.
    764770</t>
    765771<t>
     
    14121418  <list style="symbols">
    14131419    <t>
     1420      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/354"/>:
     1421      "ETags and Conditional Requests"
     1422    </t>
     1423    <t>
    14141424      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/361"/>:
    14151425      "ABNF requirements for recipients"
Note: See TracChangeset for help on using the changeset viewer.