Connected: An Internet Encyclopedia
6. Response

Up: Connected: An Internet Encyclopedia
Up: Requests For Comments
Up: RFC 1945
Prev: 5.2 Request Header Fields
Next: 6.1 Status-Line

6. Response

6. Response

After receiving and interpreting a request message, a server responds in the form of an HTTP response message.

       Response        = Simple-Response | Full-Response

       Simple-Response = [ Entity-Body ]

       Full-Response   = Status-Line             ; Section 6.1
                         *( General-Header       ; Section 4.3
                          | Response-Header      ; Section 6.2
                          | Entity-Header )      ; Section 7.1
                         CRLF
                         [ Entity-Body ]         ; Section 7.2

A Simple-Response should only be sent in response to an HTTP/0.9 Simple-Request or if the server only supports the more limited HTTP/0.9 protocol. If a client sends an HTTP/1.0 Full-Request and receives a response that does not begin with a Status-Line, it should assume that the response is a Simple-Response and parse it accordingly. Note that the Simple-Response consists only of the entity body and is terminated by the server closing the connection.


Next: 6.1 Status-Line

Connected: An Internet Encyclopedia
6. Response