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.

server SHOULD return them in the order that they appeared in therequest.<strong>Fielding</strong>, et al. Standards Track [Page 123]RFC <strong>2616</strong> HTTP/1.1 June 1999If the server ignores a byte-range-spec because it is syntacticallyinvalid, the server SHOULD treat the request as if the invalid Rangeheader field did not exist. (Normally, this means return a 200response containing the full entity).If the server receives a request (other than one including an If-Range request-header field) with an unsatisfiable Range requestheaderfield (that is, all of whose byte-range-spec values have afirst-byte-pos value greater than the current length of the selectedresource), it SHOULD return a response code of 416 (<strong>Request</strong>ed rangenot satisfiable) (section 10.4.17).Note: clients cannot depend on servers to send a 416 (<strong>Request</strong>edrange not satisfiable) response instead of a 200 (OK) response <strong>for</strong>an unsatisfiable Range request-header, since not all serversimplement this request-header.14.17 Content-TypeThe Content-Type entity-header field indicates the media type of theentity-body sent to the recipient or, in the case of the HEAD method,the media type that would have been sent had the request been a GET.Content-Type = "Content-Type" ":" media-typeMedia types are defined in section 3.7. An example of the field isContent-Type: text/html; charset=ISO-8859-4Further discussion of methods <strong>for</strong> identifying the media type of anentity is provided in section 7.2.1.14.18 DateThe Date general-header field represents the date and time at whichthe message was originated, having the same semantics as orig-date inRFC 822. The field value is an HTTP-date, as described in section3.3.1; it MUST be sent in RFC 1123 [8]-date <strong>for</strong>mat.Date = "Date" ":" HTTP-date

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

Saved successfully!

Ooh no, something went wrong!