HTTP message format (Response Message)
The message format of response message which is given by server on the request of client:
(Status line)
HTTP 11.1--200--ok
(header)
Connection -------close (in the case of non-persistent)
Date ---------------response data and time
Server-------------appache
Last modify------web page's last modify data and time
Content-----------(size) in KB
Content-----------(Type) in html/text
(body)
{the response message which is given by server place here}
The Response codes:
(Status line)
HTTP 11.1--200--ok
(header)
Connection -------close (in the case of non-persistent)
Date ---------------response data and time
Server-------------appache
Last modify------web page's last modify data and time
Content-----------(size) in KB
Content-----------(Type) in html/text
(body)
{the response message which is given by server place here}
The Response codes:
- 301--------------------website name is changed.(new address is send in the response)
- 400--------------------not understand the request message
- 200--------------------response back
- 404--------------------file nor found
Comments
Post a Comment