11.07.2015 Views

Network Working Group R. Fielding Request for Comments: 2616 ...

Network Working Group R. Fielding Request for Comments: 2616 ...

Network Working Group R. Fielding Request for Comments: 2616 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

warn-code 1xx, which are deleted even if not overridden).Note: this rule allows an origin server to use a 304 (NotModified) or a 206 (Partial Content) response to update any headerassociated with a previous response <strong>for</strong> the same entity or subrangesthereof, although it might not always be meaningful orcorrect to do so. This rule does not allow an origin server to usea 304 (Not Modified) or a 206 (Partial Content) response toentirely delete a header that it had provided with a previousresponse.<strong>Fielding</strong>, et al. Standards Track [Page 94]RFC <strong>2616</strong> HTTP/1.1 June 199913.5.4 Combining Byte RangesA response might transfer only a subrange of the bytes of an entitybody,either because the request included one or more Rangespecifications, or because a connection was broken prematurely. Afterseveral such transfers, a cache might have received several ranges ofthe same entity-body.If a cache has a stored non-empty set of subranges <strong>for</strong> an entity, andan incoming response transfers another subrange, the cache MAYcombine the new subrange with the existing set if both the followingconditions are met:- Both the incoming response and the cache entry have a cachevalidator.- The two cache validators match using the strong comparisonfunction (see section 13.3.3).If either requirement is not met, the cache MUST use only the mostrecent partial response (based on the Date values transmitted withevery response, and using the incoming response if these values areequal or missing), and MUST discard the other partial in<strong>for</strong>mation.13.6 Caching Negotiated ResponsesUse of server-driven content negotiation (section 12.1), as indicatedby the presence of a Vary header field in a response, alters theconditions and procedure by which a cache can use the response <strong>for</strong>subsequent requests. See section 14.44 <strong>for</strong> use of the Vary headerfield by servers.A server SHOULD use the Vary header field to in<strong>for</strong>m a cache of what

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!