HttpStatus Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates values returned by several types and taken as a parameter of the F:Java.Net.HttpRetryException..ctor, and F:Java.Net.HttpRetryException..ctor members.
public enum HttpStatus
type HttpStatus =
- Inheritance
-
HttpStatus
Fields
| Name | Value | Description |
|---|---|---|
| Ok | 200 | HTTP Status-Code 200: OK. |
| Created | 201 | HTTP Status-Code 201: Created. |
| Accepted | 202 | HTTP Status-Code 202: Accepted. |
| NotAuthoritative | 203 | HTTP Status-Code 203: Non-Authoritative Information. |
| NoContent | 204 | HTTP Status-Code 204: No Content. |
| Reset | 205 | HTTP Status-Code 205: Reset Content. |
| Partial | 206 | HTTP Status-Code 206: Partial Content. |
| MultChoice | 300 | HTTP Status-Code 300: Multiple Choices. |
| MovedPerm | 301 | HTTP Status-Code 301: Moved Permanently. |
| MovedTemp | 302 | HTTP Status-Code 302: Temporary Redirect. |
| SeeOther | 303 | HTTP Status-Code 303: See Other. |
| NotModified | 304 | HTTP Status-Code 304: Not Modified. |
| UseProxy | 305 | HTTP Status-Code 305: Use Proxy. |
| BadRequest | 400 | HTTP Status-Code 400: Bad Request. |
| Unauthorized | 401 | HTTP Status-Code 401: Unauthorized. |
| PaymentRequired | 402 | HTTP Status-Code 402: Payment Required. |
| Forbidden | 403 | HTTP Status-Code 403: Forbidden. |
| NotFound | 404 | HTTP Status-Code 404: Not Found. |
| BadMethod | 405 | HTTP Status-Code 405: Method Not Allowed. |
| NotAcceptable | 406 | HTTP Status-Code 406: Not Acceptable. |
| ProxyAuth | 407 | HTTP Status-Code 407: Proxy Authentication Required. |
| ClientTimeout | 408 | HTTP Status-Code 408: Request Time-Out. |
| Conflict | 409 | HTTP Status-Code 409: Conflict. |
| Gone | 410 | HTTP Status-Code 410: Gone. |
| LengthRequired | 411 | HTTP Status-Code 411: Length Required. |
| PreconFailed | 412 | HTTP Status-Code 412: Precondition Failed. |
| EntityTooLarge | 413 | HTTP Status-Code 413: Request Entity Too Large. |
| ReqTooLong | 414 | HTTP Status-Code 414: Request-URI Too Large. |
| UnsupportedType | 415 | HTTP Status-Code 415: Unsupported Media Type. |
| InternalError | 500 | HTTP Status-Code 500: Internal Server Error. |
| ServerError | 500 | Deprecated. This constant is misplaced; use InternalError instead. |
| NotImplemented | 501 | HTTP Status-Code 501: Not Implemented. |
| BadGateway | 502 | HTTP Status-Code 502: Bad Gateway. |
| Unavailable | 503 | HTTP Status-Code 503: Service Unavailable. |
| GatewayTimeout | 504 | HTTP Status-Code 504: Gateway Timeout. |
| Version | 505 | HTTP Status-Code 505: HTTP Version Not Supported. |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.