HttpStatusCode Enumeration |
Namespace: Eclo.NETMF.SIM800H
public enum HttpStatusCode
Member name | Value | Description | |
---|---|---|---|
Continue | 100 | Equivalent to HTTP status 100. Indicates that the client can continue with its request. | |
OK | 200 | Equivalent to HTTP status 200. Indicates that the request succeeded and that the requested information is in the response. This is the most common status code to receive. | |
Created | 201 | Equivalent to HTTP status 201. Indicates that the request resulted in a new resource created before the response was sent. | |
Accepted | 202 | Equivalent to HTTP status 202. Indicates that the request has been accepted for further processing. | |
NoContent | 204 | Equivalent to HTTP status 204. Indicates that the request has been successfully processed and that the response is intentionally blank. | |
PartialContent | 206 | Equivalent to HTTP status 206. Indicates that the response is a partial response as requested by a GET request that includes a byte range. | |
MovedPermanently | 301 | Equivalent to HTTP status 301. Indicates that the requested information has
been moved to the URI specified in the Location header. The default action when this
status is received is to follow the Location header associated with the response.
MovedPermanently is a synonym for Moved. | |
Moved | 301 | Equivalent to HTTP status 301. Indicates that the requested information
has been moved to the URI specified in the Location header. The default action when this
status is received is to follow the Location header associated with the response. When
the original request method was POST, the redirected request will use the GET method.
Moved is a synonym for MovedPermanently. | |
Redirect | 302 | Equivalent to HTTP status 302. Indicates that the requested information is located at the URI specified in the Location header. The default action when this status is received is to follow the Location header associated with the response. When the original request method was POST, the redirected request will use the GET method. | |
NotModified | 304 | Equivalent to HTTP status 304. Indicates that the client's cached copy is up-to-date. The contents of the resource are not transferred. | |
TemporaryRedirect | 307 | Equivalent to HTTP status 307. Indicates that the request information is located at the URI specified in the Location header. The default action when this status is received is to follow the Location header associated with the response. When the original request method was POST, the redirected request will also use the POST method. | |
BadRequest | 400 | Equivalent to HTTP status 400. Indicates that the request could not be understood by the server. BadRequest is sent when no other error is applicable, or if the exact error is unknown or does not have its own error code. | |
Unauthorized | 401 | Equivalent to HTTP status 401. Indicates that the requested resource requires authentication. The WWW-Authenticate header contains the details of how to perform the authentication. | |
Forbidden | 403 | Equivalent to HTTP status 403. Indicates that the server refuses to fulfill the request. | |
NotFound | 404 | Equivalent to HTTP status 404. Indicates that the requested resource does not exist on the server. | |
MethodNotAllowed | 405 | Equivalent to HTTP status 405. Indicates that the request method (POST or GET) is not allowed on the requested resource. | |
NotAcceptable | 406 | Equivalent to HTTP status 406. Indicates that the client has indicated with Accept headers that it will not accept any of the available representations of the resource. | |
RequestTimeout | 408 | Equivalent to HTTP status 408. Indicates that the client did not send a request within the time the server was expecting the request. | |
PreconditionFailed | 412 | Equivalent to HTTP status 412. Indicates that a condition set for this request failed, and the request cannot be carried out. Conditions are set with conditional request headers like If-Match, If-None-Match, or If-Unmodified-Since. | |
RequestEntityTooLarge | 413 | Equivalent to HTTP status 413. Indicates that the request is too large for the server to process. | |
RequestUriTooLong | 414 | Equivalent to HTTP status 414. Indicates that the URI is too long. | |
UnsupportedMediaType | 415 | Equivalent to HTTP status 415. Indicates that the request is an unsupported type. | |
InternalServerError | 500 | Equivalent to HTTP status 500. Indicates that a generic error has occurred on the server. | |
NotImplemented | 501 | Equivalent to HTTP status 501. Indicates that the server does not support the requested function. | |
ServiceUnavailable | 503 | Equivalent to HTTP status 503. Indicates that the server is temporarily unavailable, usually due to high load or maintenance. | |
HttpVersionNotSupported | 505 | Equivalent to HTTP status 505. Indicates that the requested HTTP version is not supported by the server. |
Status codes indicate categories, as follows:
1xx -- Informational.
2xx -- Successful.
3xx -- Redirection.
4xx -- Client Error.
5xx -- Server Error.