Parts of an HTTP Transaction: The Response
September 20, 1999
HTTP also specifies a response protocol.
Response codes follow the basic logic of:
| Response Code |
Description |
Examples |
| 1xx Informational |
Seldom used code for information to be supplied to the
browser. |
|
| 2xx Success |
The client or server successfully received the
instructions and could perform the actions requested. |
200 OK, 201 POST Success, 202 Request Accepted |
| 3xx Redirection |
The client or server needs to do something else to
finish the request. |
301 Resource has moved |
| 4xx Client Error |
There has been a problem on the client side
(usually syntax) |
401 Unauthorized Request,
402 Payment Required for Request,
404 Resource not Found |
| 5xx Server Error |
The server could not deal with the request correctly |
500 Internal Server Error, 501 Method Not Implemented
|
As we mentioned earlier, when a browser requests something
from the server, it uses, for the most part, either the
GET or POST methods of HTTP to do so.
Parts of an HTTP Transaction: The Request
Introduction to the Web Application Development Environment (Tools)
Encryption
|