Enum HttpStatusCode
HTTP Status Codes
public enum HttpStatusCode
Fields
Accepted = 202202 Accepted
BadGateway = 502502 Bad Gateway
BadRequest = 400400 Bad Request
BandwidthLimitExceeded = 509509 Bandwidth Limit Exceeded
BlockedByParentalControls = 450450 Blocked By Parental Controls
Checkpoint = 103103 Checkpoint
ClientClosedRequest = 499499 Client Closed Request
Conflict = 409409 Conflict
Continue = 100100 Continue
Created = 201201 Created
CustomError = 00 CustomError
EnhanceYourCalm = 420420 Enhance Your Calm
ExpectationFailed = 417417 Expectation Failed
FailedDependency = 424424 Failed Dependency
Forbidden = 403403 Forbidden
Found = 302302 Found
GatewayTimeout = 504504 Gateway Timeout
Gone = 410410 Gone
HttpVersionNotSupported = 505505 Http Version Not Supported
IMUsed = 226226 IM Used
ImATeapot = 418418 I'm A Teapot
InsufficientStorage = 507507 Insufficient Storage
InternalServerError = 500500 Internal ServerError
LengthRequired = 411411 Length Required
Locked = 423423 Locked
LoopDetected = 508508 Loop Detected
MethodNotAllowed = 405405 Method Not Allowed
MovedPermanently = 301301 Moved Permanently
MultipleChoices = 300300 Multiple Choices
MultipleStatus = 207207 Multiple Status
NetworkAuthenticationRequired = 511511 Network Authentication Required
NoContent = 204204 No Content
NoResponse = 444444 No Response
NonAuthoritativeInformation = 203203 Non Authoritative Information
NotAcceptable = 406406 Not Acceptable
NotExtended = 510510 Not Extended
NotFound = 404404 Not Found
NotImplemented = 501501 Not Implemented
NotModified = 304304 Not Modified
OK = 200200 OK
PartialContent = 206206 Partial Content
PaymentRequired = 402402 Payment Required
PreconditionFailed = 412412 Precondition Failed
PreconditionRequired = 428428 Precondition Required
Processing = 102102 Processing
ProxyAuthenticationRequired = 407407 Proxy Authentication Required
RemoteException = 550550 Remote Exception
RequestEntityTooLarge = 413413 Request Entity/Payload Too Large
RequestHeaderFieldsTooLarge = 431431 Request Header Fields Too Large
RequestTimeout = 408408 Request Timeout
RequestUriTooLong = 414414 Request Uri Too Long
RequestedRangeNotSatisfiable = 416416 Requested Range Not Satisfiable
ResetContent = 205205 Reset Content
ResumeIncomplete = 308308 Resume Incomplete
RetryWith = 449449 Retry With
SeeOther = 303303 See Other
503 Service Unavailable
SwitchProxy = 306306 Switch Proxy
SwitchingProtocols = 101101 Switching Protocols
TemporaryRedirect = 307307 Temporary Redirect
TooEarly = 425425 Too Early
TooManyRequests = 429429 Too Many Requests
401 Unauthorized
451 Unavailable For Legal Reasons
UnorderedCollection = 425425 Unordered Collection
UnprocessableEntity = 422422 Unprocessable Entity
UnsupportedMediaType = 415415 Unsupported Media Type
UpgradeRequired = 426426 Upgrade Required
UseProxy = 305305 Use Proxy
VariantAlsoNegotiates = 506506 Variant Also Negotiates
Remarks
The values are based on the list found at http://en.wikipedia.org/wiki/List_of_HTTP_status_codes