HTTP Response: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * HTTP * HTTP Request")
 
No edit summary
Line 3: Line 3:
* [[HTTP#Subjects|HTTP]]
* [[HTTP#Subjects|HTTP]]
* [[HTTP Request]]
* [[HTTP Request]]
=Overview=
A ''HTTP response'' consists of a ''status line'', followed by optional response headers, followed by blank line.
The status line includes the status code. More about status codes: [[HTTP Status Codes]].
<pre>
HTTP/1.1 200 OK
Content-Type: text/html
HttpServer: Test Server
Content-Length: 1024
</pre>
[http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
=The HTTP Response Headers=
* http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
* http://en.wikipedia.org/wiki/List_of_HTTP_headers
=HTTP Response Entity Body=

Revision as of 03:37, 22 April 2016

Internal

Overview

A HTTP response consists of a status line, followed by optional response headers, followed by blank line.

The status line includes the status code. More about status codes: HTTP Status Codes.

HTTP/1.1 200 OK
Content-Type: text/html
HttpServer: Test Server
Content-Length: 1024

[http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

The HTTP Response Headers

HTTP Response Entity Body