HTTP

From wiki.techunit.org
Jump to: navigation, search

Hyper Text Transfert Protocol

Status codes

Type of status Code & labelDescription
Informational100 Continue This interim response indicates that everything so far is OK and that the client should continue with the request or ignore it if it is already finished.
101 Switching Protocols

This code is sent in response to an Upgrade: request header by the client, and indicates that the protocol the server is switching too.
It was introduced to allow migration to an incompatible protocol version, and is not in common use.

102 ProcessingWebDAV specific
Success 200 OK

The request has succeeded. The meaning of a success varies depending on the HTTP method:
GET: The resource has been fetched and is transmitted in the message body.
HEAD: The entity headers are in the message body.
POST: The resource describing the result of the action is transmitted in the message body.
TRACE: The message body contains the request message as received by the server

201 Created The request has succeeded and a new resource has been created as a result of it. This is typically the response sent after a PUT request.
202 Accepted

The request has been received but not yet acted upon.
It is non-committal, meaning that there is no way in HTTP to later send an asynchronous response indicating the outcome of processing the request.
It is intended for cases where another process or server handles the request, or for batch processing.

Redirection300 Multiple Choices
Client exception400 Bad request
403 Forbidden
404 Not found
405 Method not allowed
409 Conflict
Server exception500 Internal server error

Sources

https://developer.mozilla.org/en-US/docs/Web/HTTP/Status