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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

validators or strong validators. Clients MUST NOT use weak validatorsin other <strong>for</strong>ms of request.The only function that the HTTP/1.1 protocol defines on validators iscomparison. There are two validator comparison functions, dependingon whether the comparison context allows the use of weak validatorsor not:- The strong comparison function: in order to be considered equal,both validators MUST be identical in every way, and both MUSTNOT be weak.- The weak comparison function: in order to be considered equal,both validators MUST be identical in every way, but either orboth of them MAY be tagged as "weak" without affecting theresult.An entity tag is strong unless it is explicitly tagged as weak.Section 3.11 gives the syntax <strong>for</strong> entity tags.A Last-Modified time, when used as a validator in a request, isimplicitly weak unless it is possible to deduce that it is strong,using the following rules:- The validator is being compared by an origin server to theactual current validator <strong>for</strong> the entity and,<strong>Fielding</strong>, et al. Standards Track [Page 87]RFC <strong>2616</strong> HTTP/1.1 June 1999- That origin server reliably knows that the associated entity didnot change twice during the second covered by the presentedvalidator.or- The validator is about to be used by a client in an If-Modified-Since or If-Unmodified-Since header, because the clienthas a cache entry <strong>for</strong> the associated entity, and- That cache entry includes a Date value, which gives the timewhen the origin server sent the original response, and- The presented Last-Modified time is at least 60 seconds be<strong>for</strong>ethe Date value.or

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

Saved successfully!

Ooh no, something went wrong!