| Share this post! | Vote this! |
|
HTTP Response Syntax
Based on HTTP/1.1 protocol, after receiving and interpreting an HTTP request
from a client, a server must responds with an HTTP response following the syntax
bellow:
status-line header-line ... header-line entity-bodyNote that:
- Response must have one status-line.
- Response can have zero, one, or many header lines.
- Response can only have zero or one entity-body.
- There is a blank line between header lines and the entity body.
- Status line, head line, and blank line must be ended with CRLF ("/r/n") characters.
- Entity body is the actual data requested by the client request.
- Header lines can be in any order. more...




0 comments:
Post a Comment