Ignore:
Timestamp:
Mar 2, 2012, 4:16:57 PM (7 years ago)
Author:
mnot@…
Message:

Move cache-specific HEAD language to p6; fully specify effects on cache. Addresses #227.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p6-cache.xml

    r1552 r1554  
    10141014</t>
    10151015
    1016 <section anchor="freshening.responses" title="Freshening Responses">
     1016<section anchor="freshening.responses" title="Freshening Responses with 304 Not Modified">
    10171017<t>
    10181018   When a cache receives a 304 (Not Modified) response and already has one
     
    10551055</t>
    10561056</section>
     1057
     1058</section>
     1059
     1060<section anchor="head.effects" title="Updating Caches with HEAD Responses">
     1061<t>
     1062   A response to the HEAD method is identical to what an equivalent request
     1063   made with a GET would have been, except it lacks a body. This property
     1064   of HEAD responses is used to both invalidate and update cached GET
     1065   responses.
     1066</t>
     1067<t>
     1068   If one or more stored GET responses can be selected (as per <xref
     1069   target="caching.negotiated.responses"/>) for a HEAD request, and the
     1070   Content-Length, ETag or Last-Modified value of a HEAD response differs from
     1071   that in a selected GET response, the cache &MUST; consider that selected
     1072   response to be stale.
     1073</t>
     1074<t>
     1075   If the Content-Length, ETag and Last-Modified values of a HEAD response
     1076   (when present) are the same as that in a selected GET response (as per
     1077   <xref target="caching.negotiated.responses"/>), the cache SHOULD update the
     1078   remaining headers in the stored response using the following rules:
     1079   <list style="symbols">
     1080      <t>delete any Warning header fields in the stored response with
     1081         warn-code 1xx (see <xref target="header.warning" />);</t>
     1082      <t>retain any Warning header fields in the stored response with
     1083         warn-code 2xx; and,</t>
     1084      <t>use other header fields provided in the response to replace
     1085         all instances of the corresponding header fields in the stored
     1086         response.</t>
     1087   </list>
     1088</t>
    10571089
    10581090</section>
Note: See TracChangeset for help on using the changeset viewer.