(for HTTP 1.1)
An HTTResponse
from a web-server consists of:
|
||||||||||||||||||||||||||||||||||||||
HTTP Response STATUS CODES:
|
||||||||||||||||||||||||||||||||||||||
HTTP Response HEADERS
|
||||||||||||||||||||||||||||||||||||||
| Header | Meaning | |||||||||||||||||||||||||||||||||||||
| Allow | Specifies the request methods (GET, POST, etc) that the server supports | |||||||||||||||||||||||||||||||||||||
| Cache-Control | Tells clients under what circumstances the response document can
be SAFELY cached. VALUES
|
|||||||||||||||||||||||||||||||||||||
| Connection | Values:
|
|||||||||||||||||||||||||||||||||||||
| Content-Encoding | Tells client the encoding scheme used to encode the data being sent by server. | |||||||||||||||||||||||||||||||||||||
| Content-Language | Tells client the language used in the data being sent | |||||||||||||||||||||||||||||||||||||
| Content-Length | Indicates number of bytes of response data being sent. | |||||||||||||||||||||||||||||||||||||
| Content-Type | Tells client the MIME type of the data being sent. | |||||||||||||||||||||||||||||||||||||
| Date | Gives the date.
|
|||||||||||||||||||||||||||||||||||||
| Expires | gives time when data being sent is considered out of date | |||||||||||||||||||||||||||||||||||||
| Last-Modified | gives date when the document being sent was last modified. | |||||||||||||||||||||||||||||||||||||
| Location | indicates the location of the data/document (either a change,etc). | |||||||||||||||||||||||||||||||||||||
| Refresh | gives number of seconds in which the client browser should update the page. | |||||||||||||||||||||||||||||||||||||
| Set-Cookie | specifies a cookie associated with the page.
|
|||||||||||||||||||||||||||||||||||||
