Microsoft Defined Constant Token |
Value |
Comment |
HTTP_STATUS_CONTINUE |
100 |
OK to continue with request |
HTTP_STATUS_SWITCH_PROTOCOLS |
101 |
server has switched protocols in upgrade header |
HTTP_STATUS_OK |
200 |
request completed |
HTTP_STATUS_CREATED |
201 |
object created, reason = new URI |
HTTP_STATUS_ACCEPTED |
202 |
async completion (TBS) |
HTTP_STATUS_PARTIAL |
203 |
partial completion |
HTTP_STATUS_NO_CONTENT |
204 |
no info to return |
HTTP_STATUS_RESET_CONTENT |
205 |
request completed, but clear form |
HTTP_STATUS_PARTIAL_CONTENT |
206 |
partial GET fulfilled |
HTTP_STATUS_AMBIGUOUS |
300 |
server couldn't decide what to return |
HTTP_STATUS_MOVED |
301 |
object permanently moved |
HTTP_STATUS_REDIRECT |
302 |
object temporarily moved |
HTTP_STATUS_REDIRECT_METHOD |
303 |
redirection w/ new access method |
HTTP_STATUS_NOT_MODIFIED |
304 |
if-modified-since was not modified |
HTTP_STATUS_USE_PROXY |
305 |
redirection to proxy, location header specifies proxy to use |
HTTP_STATUS_REDIRECT_KEEP_VERB |
307 |
HTTP/1.1: keep same verb |
HTTP_STATUS_BAD_REQUEST |
400 |
invalid syntax |
HTTP_STATUS_DENIED |
401 |
access denied |
HTTP_STATUS_PAYMENT_REQ |
402 |
payment required |
HTTP_STATUS_FORBIDDEN |
403 |
request forbidden |
HTTP_STATUS_NOT_FOUND |
404 |
object not found |
HTTP_STATUS_BAD_METHOD |
405 |
method is not allowed |
HTTP_STATUS_NONE_ACCEPTABLE |
406 |
no response acceptable to client found |
HTTP_STATUS_PROXY_AUTH_REQ |
407 |
proxy authentication required |
HTTP_STATUS_REQUEST_TIMEOUT |
408 |
server timed out waiting for request |
HTTP_STATUS_CONFLICT |
409 |
user should resubmit with more info |
HTTP_STATUS_GONE |
410 |
the resource is no longer available |
HTTP_STATUS_LENGTH_REQUIRED |
411 |
the server refused to accept request w/o a length |
HTTP_STATUS_PRECOND_FAILED |
412 |
precondition given in request failed |
HTTP_STATUS_REQUEST_TOO_LARGE |
413 |
request entity was too large |
HTTP_STATUS_URI_TOO_LONG |
414 |
request URI too long |
HTTP_STATUS_UNSUPPORTED_MEDIA |
415 |
unsupported media type |
HTTP_STATUS_RETRY_WITH |
449 |
retry after doing the appropriate action. |
HTTP_STATUS_SERVER_ERROR |
500 |
internal server error |
HTTP_STATUS_NOT_SUPPORTED |
501 |
required not supported |
HTTP_STATUS_BAD_GATEWAY |
502 |
error response received from gateway |
HTTP_STATUS_SERVICE_UNAVAIL |
503 |
temporarily overloaded |
HTTP_STATUS_GATEWAY_TIMEOUT |
504 |
timed out waiting for gateway |
HTTP_STATUS_VERSION_NOT_SUP |
505 |
HTTP version not supported |