Back to product page
- Introduction
- License agreement
- Classes
- Enumerations
- Exceptions
- WeOnlyDo.Server.WebServer
- WeOnlyDo.Server.WebHeader
- WeOnlyDo.Server.WebHeaders
- WeOnlyDo.Server.WebRequest
- WeOnlyDo.Server.WebResponse
- WeOnlyDo.Server.WebSessions
- WeOnlyDo.Server.WebSessionVar
- WeOnlyDo.Server.WebSessionVars
- WeOnlyDo.Server.WebUpload
- WeOnlyDo.Server.WebUploads
- WeOnlyDo.Server.WebUser
- WeOnlyDo.Server.WebUsers
- How to get support?
StatusCodes enumeration
List of status codes that you should return to the client to let him know if his request is successful or not.
Remarks
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.Members
Member | Value | Description |
---|---|---|
_OK | 200 | OK |
Continue | 100 | Continue |
SwitchingProtocols | 101 | Switchingprotocols |
OK | 200 | OK |
Created | 201 | Created |
Accepted | 202 | Accepted |
NonAuthoritativeInformation | 203 | Non-AuthoritativeInformation |
NoContent | 204 | NoContent |
ResetContent | 205 | ResetContent |
PartialContent | 206 | PartialContent |
MultipleChoices | 300 | MultipleChoices |
MovedPermanently | 301 | MovedPermanently |
MovedTemporarily | 302 | MovedTemporarily |
SeeOther | 303 | SeeOther |
NotModified | 304 | NotModified |
UseProxy | 305 | UseProxy |
BadRequest | 400 | BadRequest |
Unauthorized | 401 | Unauthorized |
PaymentRequired | 402 | PaymentRequired |
Forbidden | 403 | Forbidden |
NotFound | 404 | NotFound |
MethodNotAllowed | 405 | MethodNotAllowed |
NotAcceptable | 406 | NotAccepted |
ProxyAuthenticationRequired | 407 | ProxyAuthenticationRequired |
RequestTimeout | 408 | RequestTime-out |
Conflict | 409 | Conflict |
Gone | 410 | Gone |
LengthRequired | 411 | LengthRequired |
PreconditionFailed | 412 | Pre-ConditionFailed |
RequestEntityTooLarge | 413 | RequestEntityTooLarge |
RequestURITooLarge | 414 | RequestURITooLarge |
UnsupportedMediaType | 415 | UnsupportedMediaType |
RangeNotSatisfiable | 416 | RequestedRangeNotSatisfiable |
InternalServerError | 500 | InternalServerError |
NotImplemented | 501 | NotImplemented |
BadGateway | 502 | BadGateway |
ServiceUnavailable | 503 | ServiceUnavailable |
GatewayTimeout | 504 | GatewayTime-out |
HTTPVersionNotSupported | 505 | HTTPVersionNotSupported |