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.

<strong>Fielding</strong>, et al. Standards Track [Page 133]RFC <strong>2616</strong> HTTP/1.1 June 1999If the client has no entity tag <strong>for</strong> an entity, but does have a Last-Modified date, it MAY use that date in an If-Range header. (Theserver can distinguish between a valid HTTP-date and any <strong>for</strong>m ofentity-tag by examining no more than two characters.) The If-Rangeheader SHOULD only be used together with a Range header, and MUST beignored if the request does not include a Range header, or if theserver does not support the sub-range operation.If the entity tag given in the If-Range header matches the currententity tag <strong>for</strong> the entity, then the server SHOULD provide thespecified sub-range of the entity using a 206 (Partial content)response. If the entity tag does not match, then the server SHOULDreturn the entire entity using a 200 (OK) response.14.28 If-Unmodified-SinceThe If-Unmodified-Since request-header field is used with a method tomake it conditional. If the requested resource has not been modifiedsince the time specified in this field, the server SHOULD per<strong>for</strong>m therequested operation as if the If-Unmodified-Since header were notpresent.If the requested variant has been modified since the specified time,the server MUST NOT per<strong>for</strong>m the requested operation, and MUST returna 412 (Precondition Failed).If-Unmodified-Since = "If-Unmodified-Since" ":" HTTP-dateAn example of the field is:If-Unmodified-Since: Sat, 29 Oct 1994 19:43:31 GMTIf the request normally (i.e., without the If-Unmodified-Sinceheader) would result in anything other than a 2xx or 412 status, theIf-Unmodified-Since header SHOULD be ignored.If the specified date is invalid, the header is ignored.The result of a request having both an If-Unmodified-Since headerfield and either an If-None-Match or an If-Modified-Since headerfields is undefined by this specification.

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

Saved successfully!

Ooh no, something went wrong!