HttpStatusCode

HttpStatusCode enum

enum class HttpStatusCode

Values

NameValueDescription
Continue100The ‘Continue’ status code that equals to HTTP status 100.
SwitchingProtocols101The ‘Switching Protocol’ status code that equals to HTTP status 101.
OK200The ‘OK’ status code that equals to HTTP status 200.
Created201The ‘Created’ status code that equals to HTTP status 201.
Accepted202The ‘Accepted’ status code that equals to HTTP status 202.
NonAuthoritativeInformation203The ‘Non-Authoritative Information’ status code that equals to HTTP status 203.
NoContent204The ‘No Content’ status code that equals to HTTP status 204.
ResetContent205The ‘Reset Content’ status code that equals to HTTP status 205.
PartialContent206The ‘Partial Content’ status code that equals to HTTP status 206.
MultipleChoices300The ‘Multiple Choice’ status code that equals to HTTP status 300.
Ambiguous300The ‘Ambiguous’ status code that equals to HTTP status 300.
MovedPermanently301The ‘Moved Permanently’ status code that equals to HTTP status 301.
Moved301The ‘Moved’ status code that equals to HTTP status 301.
Found302The ‘Found’ status code that equals to HTTP status 302.
Redirect302The ‘Redirect’ status code that equals to HTTP status 302.
SeeOther303The ‘See Other’ status code that equals to HTTP status 303.
RedirectMethod303The ‘Redirect’ status code that equals to HTTP status 303.
NotModified304The ‘Not Modified’ status code that equals to HTTP status 304.
UseProxy305The ‘Use Proxy’ status code that equals to HTTP status 305.
Unused306The ‘Switch Proxy’ status code that equals to HTTP status 306.
TemporaryRedirect307The ‘Temporary Redirect’ status code that equals to HTTP status 307.
RedirectKeepVerb307The ‘Redirect Keep Verb’ status code that equals to HTTP status 307.
PermanentRedirect308The ‘Permanent Redirect’ status code that equals to HTTP status 308.
BadRequest400The ‘Bad Request’ status code that equals to HTTP status 400.
Unauthorized401The ‘Unauthorized’ status code that equals to HTTP status 401.
PaymentRequired402The ‘Payment Required’ status code that equals to HTTP status 402.
Forbidden403The ‘Forbidden’ status code that equals to HTTP status 403.
NotFound404The ‘Not Found’ status code that equals to HTTP status 404.
MethodNotAllowed405The ‘Method Not Allowed’ status code that equals to HTTP status 405.
NotAcceptable406The ‘Not Acceptable’ status code that equals to HTTP status 406.
ProxyAuthenticationRequired407The ‘Proxy Authentication Required’ status code that equals to HTTP status 407.
RequestTimeout408The ‘Request Timeout’ status code that equals to HTTP status 408.
Conflict409The ‘Conflict’ status code that equals to HTTP status 409.
Gone410The ‘Gone’ status code that equals to HTTP status 410.
LengthRequired411The ‘Length Required’ status code that equals to HTTP status 411.
PreconditionFailed412The ‘Precondition Failed’ status code that equals to HTTP status 412.
RequestEntityTooLarge413The ‘Request Entity Too Large’ status code that equals to HTTP status 413.
RequestUriTooLong414The ‘Request-URI Too Long’ status code that equals to HTTP status 414.
UnsupportedMediaType415The ‘Unsupported Media Type’ status code that equals to HTTP status 415.
RequestedRangeNotSatisfiable416The ‘Requested Range Not Satisfiable’ status code that equals to HTTP status 416.
ExpectationFailed417The ‘Expectation Failed’ status code that equals to HTTP status 417.
UpgradeRequired426The ‘Upgrade Required’ status code that equals to HTTP status 426.
InternalServerError500The ‘Internal Server Error’ status code that equals to HTTP status 500.
NotImplemented501The ‘Not Implemented’ status code that equals to HTTP status 501.
BadGateway502The ‘Bad Gateway’ status code that equals to HTTP status 502.
ServiceUnavailable503The ‘Service Unavailable’ status code that equals to HTTP status 503.
GatewayTimeout504The ‘Gateway Timeout’ status code that equals to HTTP status 504.
HttpVersionNotSupported505The ‘HTTP Version Not Supported’ status code that equals to HTTP status 505.

See Also