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.

| Referer ; Section 14.36| TE ; Section 14.39| User-Agent ; Section 14.43<strong>Request</strong>-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 requestheaderfields if all parties in the communication recognize them tobe request-header fields. Unrecognized header fields are treated asentity-header fields.6 ResponseAfter receiving and interpreting a request message, a server respondswith an HTTP response message.Response = Status-Line ; Section 6.1*(( general-header ; Section 4.5| response-header ; Section 6.2| entity-header ) CRLF) ; Section 7.1CRLF[ message-body ] ; Section 7.26.1 Status-LineThe first line of a Response message is the Status-Line, consistingof the protocol version followed by a numeric status code and itsassociated textual phrase, with each element separated by SPcharacters. No CR or LF is allowed except in the final CRLF sequence.Status-Line = HTTP-Version SP Status-Code SP Reason-Phrase CRLF6.1.1 Status Code and Reason PhraseThe Status-Code element is a 3-digit integer result code of theattempt to understand and satisfy the request. These codes are fullydefined in section 10. The Reason-Phrase is intended to give a shorttextual description of the Status-Code. The Status-Code is intended<strong>for</strong> use by automata and the Reason-Phrase is intended <strong>for</strong> the humanuser. The client is not required to examine or display the Reason-Phrase.<strong>Fielding</strong>, et al. Standards Track [Page 39]RFC <strong>2616</strong> HTTP/1.1 June 1999The first digit of the Status-Code defines the class of response. Thelast two digits do not have any categorization role. There are 5

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

Saved successfully!

Ooh no, something went wrong!