This is list of status codes that you should return to the client to let him know if his request is successful or not.
This is list of status codes (as defined by HTTP protocol) that you should return to the client to let him know if his request is successful or not. In most cases you will use 200 'OK' value (meaning you will serve the page correctly). 404 'Not Found' is also common when page does not exist.
For other value - use them if you need to, clients know how to behave correctly on these return codes. You should put these values to Response.StatusCode property.
| Member Name | Description |
|---|---|
| _OK | OK |
| Continue | Continue |
| SwitchingProtocols | Switching protocols |
| OK | OK |
| Created | Created |
| Accepted | Accepted |
| NonAuthoritativeInformation | Non-Authoritative Information |
| NoContent | No Content |
| ResetContent | Reset Content |
| PartialContent | Partial Content |
| MultipleChoices | Multiple Choices |
| MovedPermanently | Moved Permanently |
| MovedTemporarily | Moved Temporarily |
| SeeOther | See Other |
| NotModified | Not Modified |
| UseProxy | Use Proxy |
| BadRequest | Bad Request |
| Unauthorized | Unauthorized |
| PaymentRequired | Payment Required |
| Forbidden | Forbidden |
| NotFound | Not Found |
| MethodNotAllowed | Method Not Allowed |
| NotAcceptable | Not Accepted |
| ProxyAuthenticationRequired | Proxy Authentication Required |
| RequestTimeout | Request Time-out |
| Conflict | Conflict |
| Gone | Gone |
| LengthRequired | Length Required |
| PreconditionFailed | Pre-Condition Failed |
| RequestEntityTooLarge | Request Entity Too Large |
| RequestURITooLarge | Request URI Too Large |
| UnsupportedMediaType | Unsupported Media Type |
| RangeNotSatisfiable | Requested Range Not Satisfiable |
| InternalServerError | Internal Server Error |
| NotImplemented | Not Implemented |
| BadGateway | Bad Gateway |
| ServiceUnavailable | Service Unavailable |
| GatewayTimeout | Gateway Time-out |
| HTTPVersionNotSupported | HTTP Version Not Supported |
Namespace: WeOnlyDo.Server
Assembly: WeOnlyDo.Server.WebServer (in WeOnlyDo.Server.WebServer.dll)