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.

with appropriate error status. The server MUST respond with a 417(Expectation Failed) status if any of the expectations cannot be metor, if there are other problems with the request, some other 4xxstatus.This header field is defined with extensible syntax to allow <strong>for</strong>future extensions. If a server receives a request containing anExpect field that includes an expectation-extension that it does notsupport, it MUST respond with a 417 (Expectation Failed) status.Comparison of expectation values is case-insensitive <strong>for</strong> unquotedtokens (including the 100-continue token), and is case-sensitive <strong>for</strong>quoted-string expectation-extensions.<strong>Fielding</strong>, et al. Standards Track [Page 126]RFC <strong>2616</strong> HTTP/1.1 June 1999The Expect mechanism is hop-by-hop: that is, an HTTP/1.1 proxy MUSTreturn a 417 (Expectation Failed) status if it receives a requestwith an expectation that it cannot meet. However, the Expectrequest-header itself is end-to-end; it MUST be <strong>for</strong>warded if therequest is <strong>for</strong>warded.Many older HTTP/1.0 and HTTP/1.1 applications do not understand theExpect header.See section 8.2.3 <strong>for</strong> the use of the 100 (continue) status.14.21 ExpiresThe Expires entity-header field gives the date/time after which theresponse is considered stale. A stale cache entry may not normally bereturned by a cache (either a proxy cache or a user agent cache)unless it is first validated with the origin server (or with anintermediate cache that has a fresh copy of the entity). See section13.2 <strong>for</strong> further discussion of the expiration model.The presence of an Expires field does not imply that the originalresource will change or cease to exist at, be<strong>for</strong>e, or after thattime.The <strong>for</strong>mat is an absolute date and time as defined by HTTP-date insection 3.3.1; it MUST be in RFC 1123 date <strong>for</strong>mat:

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

Saved successfully!

Ooh no, something went wrong!