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.

in advance.Messages MUST NOT include both a Content-Length header field and anon-identity transfer-coding. If the message does include a nonidentitytransfer-coding, the Content-Length MUST be ignored.When a Content-Length is given in a message where a message-body isallowed, its field value MUST exactly match the number of OCTETs inthe message-body. HTTP/1.1 user agents MUST notify the user when aninvalid length is received and detected.4.5 General Header FieldsThere are a few header fields which have general applicability <strong>for</strong>both request and response messages, but which do not apply to theentity being transferred. These header fields apply only to the<strong>Fielding</strong>, et al. Standards Track [Page 34]RFC <strong>2616</strong> HTTP/1.1 June 1999message being transmitted.general-header = Cache-Control ; Section 14.9| Connection ; Section 14.10| Date ; Section 14.18| Pragma ; Section 14.32| Trailer ; Section 14.40| Transfer-Encoding ; Section 14.41| Upgrade ; Section 14.42| Via ; Section 14.45| Warning ; Section 14.46General-header field names can be extended reliably only incombination with a change in the protocol version. However, new orexperimental header fields may be given the semantics of generalheader fields if all parties in the communication recognize them tobe general-header fields. Unrecognized header fields are treated asentity-header fields.5 <strong>Request</strong>A request message from a client to a server includes, within thefirst line of that message, the method to be applied to the resource,the identifier of the resource, and the protocol version in use.<strong>Request</strong> = <strong>Request</strong>-Line ; Section 5.1*(( general-header ; Section 4.5

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

Saved successfully!

Ooh no, something went wrong!