#include <mw/httperr.h>
| class HTTPStatus |
| Public Member Enumerations | |
|---|---|
| enum | anonymous { EContinue, ESwitchingProtocols, EOk, ECreated, ..., EHTTPVersionNotSupported } |
| Public Member Functions | |
|---|---|
| TBool | IsClientError(TInt) |
| TBool | IsInformational(TInt) |
| TBool | IsRedirection(TInt) |
| TBool | IsServerError(TInt) |
| TBool | IsSuccessful(TInt) |
The complete set of HTTP Status codes, as defined in RFC2616.
| Enumerator | Value | Description |
|---|---|---|
| EContinue | 100 |
'Informational' range of codes 1xx Continue. |
| ESwitchingProtocols | 101 |
Switching Protocols. |
| EOk | 200 |
'Successful' range of codes 2xx Ok. |
| ECreated | 201 |
Created. |
| EAccepted | 202 |
The entry has been accepted. |
| ENonAuthoritativeInfo | 203 |
Non-Authoritative Information. |
| ENoContent | 204 |
No Content. |
| EResetContent | 205 |
Reset Content. |
| EPartialContent | 206 |
Partial Content. |
| EMultipleChoices | 300 |
'Redirection' range of codes 3xx Multiple Choices. |
| EMovedPermanently | 301 |
Moved Permanently. |
| EFound | 302 |
Found. Note, this is deprecated in HTTP/1.1 - 307 will be used instead |
| ESeeOther | 303 |
See Other. |
| ENotModified | 304 |
Not Modified. |
| EUseProxy | 305 |
Use Proxy. |
| EUnused | 306 |
Unused. |
| ETemporaryRedirect | 307 |
Temporary Redirect. |
| EBadRequest | 400 |
'Client Error' range of codes 4xx Bad Request. |
| EUnauthorized | 401 |
Unauthorized. |
| EPaymentRequired | 402 |
Payment Required. Note, this is reserved in HTTP/1.1 |
| EForbidden | 403 |
Forbidden. |
| ENotFound | 404 |
Not Found. |
| EMethodNotAllowed | 405 |
Method Not Allowed. |
| ENotAcceptable | 406 |
Not Acceptable. |
| EProxyAuthenticationRequired | 407 |
Proxy Authentication Required. |
| ERequestTimeout | 408 |
Request Timeout. |
| EConflict | 409 |
Conflict. |
| EGone | 410 |
Gone. |
| ELengthRequired | 411 |
Length Required. |
| EPreconditionFailed | 412 |
Precondition Failed. |
| ERequestEntityTooLarge | 413 |
Request Entity Too Large. |
| ERequestURITooLong | 414 |
Request-URI Too Long. |
| EUnsupportedMediaType | 415 |
Unsupported Media Type. |
| ERequestedRangeNotSatisfiable | 416 |
Requested Range Not Satisfiable. |
| EExpectationFailed | 417 |
Expectation Failed. |
| EInternalServerError | 500 |
'Server Error' range of codes 5xx Internal Server Error. |
| ENotImplemented | 501 |
Not Implemented. |
| EBadGateway | 502 |
Bad Gateway. |
| EServiceUnavailable | 503 |
Service Unavailable. |
| EGatewayTimeout | 504 |
Gateway Timeout. |
| EHTTPVersionNotSupported | 505 |
HTTP Version Not Supported. |