Enum HttpStatusCode
HTTP Status Codes
public enum HttpStatusCode
Fields
Accepted = 202
202 Accepted
BadGateway = 502
502 Bad Gateway
BadRequest = 400
400 Bad Request
BandwidthLimitExceeded = 509
509 Bandwidth Limit Exceeded
BlockedByParentalControls = 450
450 Blocked By Parental Controls
Checkpoint = 103
103 Checkpoint
ClientClosedRequest = 499
499 Client Closed Request
Conflict = 409
409 Conflict
Continue = 100
100 Continue
Created = 201
201 Created
CustomError = 0
0 CustomError
EnhanceYourCalm = 420
420 Enhance Your Calm
ExpectationFailed = 417
417 Expectation Failed
FailedDependency = 424
424 Failed Dependency
Forbidden = 403
403 Forbidden
Found = 302
302 Found
GatewayTimeout = 504
504 Gateway Timeout
Gone = 410
410 Gone
HttpVersionNotSupported = 505
505 Http Version Not Supported
IMUsed = 226
226 IM Used
ImATeapot = 418
418 I'm A Teapot
InsufficientStorage = 507
507 Insufficient Storage
InternalServerError = 500
500 Internal ServerError
LengthRequired = 411
411 Length Required
Locked = 423
423 Locked
LoopDetected = 508
508 Loop Detected
MethodNotAllowed = 405
405 Method Not Allowed
MovedPermanently = 301
301 Moved Permanently
MultipleChoices = 300
300 Multiple Choices
MultipleStatus = 207
207 Multiple Status
NetworkAuthenticationRequired = 511
511 Network Authentication Required
NoContent = 204
204 No Content
NoResponse = 444
444 No Response
NonAuthoritativeInformation = 203
203 Non Authoritative Information
NotAcceptable = 406
406 Not Acceptable
NotExtended = 510
510 Not Extended
NotFound = 404
404 Not Found
NotImplemented = 501
501 Not Implemented
NotModified = 304
304 Not Modified
OK = 200
200 OK
PartialContent = 206
206 Partial Content
PaymentRequired = 402
402 Payment Required
PreconditionFailed = 412
412 Precondition Failed
PreconditionRequired = 428
428 Precondition Required
Processing = 102
102 Processing
ProxyAuthenticationRequired = 407
407 Proxy Authentication Required
RemoteException = 550
550 Remote Exception
RequestEntityTooLarge = 413
413 Request Entity/Payload Too Large
RequestHeaderFieldsTooLarge = 431
431 Request Header Fields Too Large
RequestTimeout = 408
408 Request Timeout
RequestUriTooLong = 414
414 Request Uri Too Long
RequestedRangeNotSatisfiable = 416
416 Requested Range Not Satisfiable
ResetContent = 205
205 Reset Content
ResumeIncomplete = 308
308 Resume Incomplete
RetryWith = 449
449 Retry With
SeeOther = 303
303 See Other
503 Service Unavailable
SwitchProxy = 306
306 Switch Proxy
SwitchingProtocols = 101
101 Switching Protocols
TemporaryRedirect = 307
307 Temporary Redirect
TooEarly = 425
425 Too Early
TooManyRequests = 429
429 Too Many Requests
401 Unauthorized
451 Unavailable For Legal Reasons
UnorderedCollection = 425
425 Unordered Collection
UnprocessableEntity = 422
422 Unprocessable Entity
UnsupportedMediaType = 415
415 Unsupported Media Type
UpgradeRequired = 426
426 Upgrade Required
UseProxy = 305
305 Use Proxy
VariantAlsoNegotiates = 506
506 Variant Also Negotiates
Remarks
The values are based on the list found at http://en.wikipedia.org/wiki/List_of_HTTP_status_codes