This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
error_codes [2011/02/05 22:28] k2patel created |
error_codes [2011/02/05 22:31] k2patel |
||
---|---|---|---|
Line 5: | Line 5: | ||
==== 1xx Info / Informational ==== | ==== 1xx Info / Informational ==== | ||
- | HTTP_INFO - Request received, continuing process. Indicates a provisional response, consisting only of the Status-Line and optional headers, and is terminated by an empty line. | + | HTTP_INFO - Request received, continuing process. Indicates a provisional response, consisting only of the Status-Line and optional headers, \\ |
+ | and is terminated by an empty line. | ||
<code txt> | <code txt> | ||
Line 15: | Line 16: | ||
==== 2xx Success / OK ==== | ==== 2xx Success / OK ==== | ||
- | HTTP_SUCCESS - The action was successfully received, understood, and accepted. Indicates that the client's request was successfully received, understood, and accepted. | + | HTTP_SUCCESS - The action was successfully received, understood, and accepted. Indicates that the client's request was successfully received, \\ |
- | 200 OK - HTTP_OK | + | understood, and accepted. |
<code txt> | <code txt> | ||
+ | 200 OK - HTTP_OK | ||
201 Created - HTTP_CREATED | 201 Created - HTTP_CREATED | ||
202 Accepted - HTTP_ACCEPTED | 202 Accepted - HTTP_ACCEPTED | ||
Line 50: | Line 53: | ||
Except when responding to a HEAD request, the server should include an entity containing an explanation of the error situation, \\ | Except when responding to a HEAD request, the server should include an entity containing an explanation of the error situation, \\ | ||
and whether it is a temporary or permanent condition. | and whether it is a temporary or permanent condition. | ||
+ | |||
<code txt> | <code txt> | ||
400 Bad Request - HTTP_BAD_REQUEST | 400 Bad Request - HTTP_BAD_REQUEST |