Changeset 1913


Ignore:
Timestamp:
26/09/12 16:14:22 (11 years ago)
Author:
mnot@…
Message:

Make it crystal clear that cached POST responses can't be used to satisfy future POST requests

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

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p2-semantics.html

    r1912 r1913  
    449449  }
    450450  @bottom-center {
    451        content: "Expires March 26, 2013";
     451       content: "Expires March 30, 2013";
    452452  }
    453453  @bottom-right {
     
    491491      <link href="p1-messaging.html" rel="prev">
    492492      <link href="p4-conditional.html" rel="next">
    493       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.588, 2012-08-25 12:28:24, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     493      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.588, 2012-08-25 12:28:24, XSLT vendor: SAXON 9.1.0.8 from Saxonica http://www.saxonica.com/">
    494494      <link rel="schema.dct" href="http://purl.org/dc/terms/">
    495495      <meta name="dct.creator" content="Fielding, R.">
     
    497497      <meta name="dct.creator" content="Reschke, J. F.">
    498498      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p2-semantics-latest">
    499       <meta name="dct.issued" scheme="ISO8601" content="2012-09-22">
     499      <meta name="dct.issued" scheme="ISO8601" content="2012-09-26">
    500500      <meta name="dct.replaces" content="urn:ietf:rfc:2616">
    501501      <meta name="dct.abstract" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypertext information systems. This document defines the semantics of HTTP/1.1 messages, as expressed by request methods, request header fields, response status codes, and response header fields, along with the payload of messages (metadata and body content) and mechanisms for content negotiation.">
     
    528528            </tr>
    529529            <tr>
    530                <td class="left">Expires: March 26, 2013</td>
     530               <td class="left">Expires: March 30, 2013</td>
    531531               <td class="right">greenbytes</td>
    532532            </tr>
    533533            <tr>
    534534               <td class="left"></td>
    535                <td class="right">September 22, 2012</td>
     535               <td class="right">September 26, 2012</td>
    536536            </tr>
    537537         </tbody>
     
    560560         in progress”.
    561561      </p>
    562       <p>This Internet-Draft will expire on March 26, 2013.</p>
     562      <p>This Internet-Draft will expire on March 30, 2013.</p>
    563563      <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1>
    564564      <p>Copyright © 2012 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
     
    14141414      <p id="rfc.section.4.3.3.p.4">If a resource has been created on the origin server, the response <em class="bcp14">SHOULD</em> be <a href="#status.201" class="smpl">201 (Created)</a> and contain a representation which describes the status of the request and refers to the new resource, and a <a href="#header.location" class="smpl">Location</a> header field (see <a href="#header.location" id="rfc.xref.header.location.1" title="Location">Section&nbsp;7.1.1</a>).
    14151415      </p>
    1416       <p id="rfc.section.4.3.3.p.5">Responses to POST requests are only cacheable when they include explicit freshness information (see <a href="p6-cache.html#calculating.freshness.lifetime" title="Calculating Freshness Lifetime">Section 4.1.1</a> of <a href="#Part6" id="rfc.xref.Part6.5"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Caching">[Part6]</cite></a>). A cached POST response with a <a href="#header.content-location" class="smpl">Content-Location</a> header field (see <a href="#header.content-location" id="rfc.xref.header.content-location.2" title="Content-Location">Section&nbsp;3.1.4</a>) whose value is the effective Request URI <em class="bcp14">MAY</em> be used to satisfy subsequent GET and HEAD requests.
     1416      <p id="rfc.section.4.3.3.p.5">Responses to POST requests are only cacheable when they include explicit freshness information (see <a href="p6-cache.html#calculating.freshness.lifetime" title="Calculating Freshness Lifetime">Section 4.1.1</a> of <a href="#Part6" id="rfc.xref.Part6.5"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Caching">[Part6]</cite></a>). A cached POST response with a <a href="#header.content-location" class="smpl">Content-Location</a> header field (see <a href="#header.content-location" id="rfc.xref.header.content-location.2" title="Content-Location">Section&nbsp;3.1.4</a>) whose value is the effective Request URI <em class="bcp14">MAY</em> be used to satisfy subsequent GET and HEAD (not POST) requests.
    14171417      </p>
    14181418      <p id="rfc.section.4.3.3.p.6">Note that POST caching is not widely implemented. However, the <a href="#status.303" class="smpl">303 (See Other)</a> response can be used to direct the user agent to retrieve a cacheable representation of the resource.
  • draft-ietf-httpbis/latest/p2-semantics.xml

    r1912 r1913  
    11961196</t>
    11971197<t>
    1198    Responses to POST requests are only cacheable when they
    1199    include explicit freshness information (see &p6-explicit;). A
    1200    cached POST response with a <x:ref>Content-Location</x:ref> header field
    1201    (see &header-content-location;) whose value is the effective
    1202    Request URI &MAY; be used to satisfy subsequent GET and HEAD requests.
     1198   Responses to POST requests are only cacheable when they include explicit
     1199   freshness information (see &p6-explicit;). A cached POST response with a
     1200   <x:ref>Content-Location</x:ref> header field (see
     1201   &header-content-location;) whose value is the effective Request URI &MAY;
     1202   be used to satisfy subsequent GET and HEAD (not POST) requests.
    12031203</t>
    12041204<t>
Note: See TracChangeset for help on using the changeset viewer.