Table of Contents

About
The 2XX
successful response status codes indicate whether a specific response
has been successfully received, understood and accepted1.
List
Below are a list of successful responses, ranging between 200
and 299
:
- 200 OK - The request succeeded. The result and meaning of “success”
depends on the HTTP method:
- GET: the resource has been fetched and transimitted in the message body
- HEAD: representation headers are included in the response without any message body
- PUT or POST: the resource describing the result of the action is transmitted in the message body
- TRACE: the message body contains the request as received by the server
- 201 Created - The request succeeded, and a new resource was created as a result. This is typically the response sent after POST requests, or some PUT requests
- 202 Accepted - The request has been received but not yet acted upon. It is noncommittal, since there is no way in HTTP to later send an asynchronous response indicating the outcome of the request. It is intended for cases where another process or server handles the request, or for batch processing.
- 203 Non-Authoritative Information - This response code means the returned metadata is not exactly the same as is available from the origin server, but is collected from a local or a third-party copy. This is mostly used for mirrors or backups of another resource. Except for that specific case, the 200 OK response is preferred to this status
- 204 No Content - there is no content to send for this request, but the headers are useful. The user agent may update its cached headers for this resource with the new ones.
- 205 Reset Content - tells the user agent to reset the document which sent this request.
- 206 Partial Content - this response code is used in response to a range request when the client has requested a part or parts of a resource.
- 207 Multi-Status (WebDAV) - conveys information about multiple resources, for situations where multiple status codes might be appropriate.
- 208 Already Reported (WebDAV) - Used inside a
<dav:propstat>
response element to avoid repeatedly enumerating the internal members of multiple bindings to the same collection. - 226 IM Used (HTTP Delta encoding) - The server has fulfilled a GET request for the resource, and the response is a representation of the result of one or more instance-manipulations applied to the current instance.
Anki
Links
References
Wikipedia. “HTTP”. Available at: https://en.wikipedia.org/wiki/HTTP. (Accessed: ). ↩︎