HTTP Response: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 9: | Line 9: | ||
=Overview= | =Overview= | ||
A ''HTTP response'' consists of a ''status line'', followed by optional | A ''HTTP response'' consists of a ''status line'', followed by an optional set of headers, followed by blank line followed by an optional message body. | ||
The status line includes the status code. More about status codes: [[HTTP Status Codes]]. | The status line includes the status code. More about status codes: [[HTTP Status Codes]]. |
Revision as of 02:29, 6 January 2017
External
- RFC 2616 Section 6 Response https://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html
Internal
Overview
A HTTP response consists of a status line, followed by an optional set of headers, followed by blank line followed by an optional message body.
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
More about HTTP response: 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