Class HttpStatusCode
Contains common HTTP status codes.
Inheritance
Namespace:MyTested.AspNetCore.Mvc
Assembly:MyTested.AspNetCore.Mvc.Abstractions.dll
Syntax
public class HttpStatusCode
Fields
| Improve this Doc View SourceAccepted
202 (Accepted) HTTP status code.
Declaration
public const int Accepted = 202
Field Value
Type | Description |
---|---|
System.Int32 |
AuthenticationTimeout
419 (Authentication Timeout) HTTP status code.
Declaration
public const int AuthenticationTimeout = 419
Field Value
Type | Description |
---|---|
System.Int32 |
BadGateway
502 (Bad Gateway) HTTP status code.
Declaration
public const int BadGateway = 502
Field Value
Type | Description |
---|---|
System.Int32 |
BadRequest
400 (Bad Request) HTTP status code.
Declaration
public const int BadRequest = 400
Field Value
Type | Description |
---|---|
System.Int32 |
Conflict
409 (Conflict) HTTP status code.
Declaration
public const int Conflict = 409
Field Value
Type | Description |
---|---|
System.Int32 |
Created
201 (Created) HTTP status code.
Declaration
public const int Created = 201
Field Value
Type | Description |
---|---|
System.Int32 |
ExpectationFailed
417 (Expectation Failed) HTTP status code.
Declaration
public const int ExpectationFailed = 417
Field Value
Type | Description |
---|---|
System.Int32 |
Forbidden
403 (Forbidden) HTTP status code.
Declaration
public const int Forbidden = 403
Field Value
Type | Description |
---|---|
System.Int32 |
Found
302 (Found) HTTP status code.
Declaration
public const int Found = 302
Field Value
Type | Description |
---|---|
System.Int32 |
GatewayTimeout
504 (Gateway Timeout) HTTP status code.
Declaration
public const int GatewayTimeout = 504
Field Value
Type | Description |
---|---|
System.Int32 |
Gone
410 (Gone) HTTP status code.
Declaration
public const int Gone = 410
Field Value
Type | Description |
---|---|
System.Int32 |
HttpVersionNotsupported
505 (HTTP Version Not supported) HTTP status code.
Declaration
public const int HttpVersionNotsupported = 505
Field Value
Type | Description |
---|---|
System.Int32 |
ImATeapot
418 (I'm a Teapot) HTTP status code.
Declaration
public const int ImATeapot = 418
Field Value
Type | Description |
---|---|
System.Int32 |
InternalServerError
500 (Internal Server Error) HTTP status code.
Declaration
public const int InternalServerError = 500
Field Value
Type | Description |
---|---|
System.Int32 |
LengthRequired
411 (Length Required) HTTP status code.
Declaration
public const int LengthRequired = 411
Field Value
Type | Description |
---|---|
System.Int32 |
MethodNotAllowed
405 (Method Not Allowed) HTTP status code.
Declaration
public const int MethodNotAllowed = 405
Field Value
Type | Description |
---|---|
System.Int32 |
MovedPermanently
301 (Moved Permanently) HTTP status code.
Declaration
public const int MovedPermanently = 301
Field Value
Type | Description |
---|---|
System.Int32 |
MultipleChoices
300 (Multiple Choices) HTTP status code.
Declaration
public const int MultipleChoices = 300
Field Value
Type | Description |
---|---|
System.Int32 |
NoContent
204 (No Content) HTTP status code.
Declaration
public const int NoContent = 204
Field Value
Type | Description |
---|---|
System.Int32 |
NonAuthoritativeInformation
203 (Non-Authoritative Information) HTTP status code.
Declaration
public const int NonAuthoritativeInformation = 203
Field Value
Type | Description |
---|---|
System.Int32 |
NotAcceptable
406 (Not Acceptable) HTTP status code.
Declaration
public const int NotAcceptable = 406
Field Value
Type | Description |
---|---|
System.Int32 |
NotFound
404 (Not Found) HTTP status code.
Declaration
public const int NotFound = 404
Field Value
Type | Description |
---|---|
System.Int32 |
NotImplemented
501 (Not Implemented) HTTP status code.
Declaration
public const int NotImplemented = 501
Field Value
Type | Description |
---|---|
System.Int32 |
NotModified
304 (Not Modified) HTTP status code.
Declaration
public const int NotModified = 304
Field Value
Type | Description |
---|---|
System.Int32 |
OK
200 (OK) HTTP status code.
Declaration
public const int OK = 200
Field Value
Type | Description |
---|---|
System.Int32 |
PartialContent
206 (Partial Content) HTTP status code.
Declaration
public const int PartialContent = 206
Field Value
Type | Description |
---|---|
System.Int32 |
PaymentRequired
402 (Payment Required) HTTP status code.
Declaration
public const int PaymentRequired = 402
Field Value
Type | Description |
---|---|
System.Int32 |
PreconditionFailed
412 (Precondition Failed) HTTP status code.
Declaration
public const int PreconditionFailed = 412
Field Value
Type | Description |
---|---|
System.Int32 |
ProxyAuthenticationRequired
407 (Proxy Authentication Required) HTTP status code.
Declaration
public const int ProxyAuthenticationRequired = 407
Field Value
Type | Description |
---|---|
System.Int32 |
RequestedRangeNotSatisfiable
416 (Requested Range Not Satisfiable) HTTP status code.
Declaration
public const int RequestedRangeNotSatisfiable = 416
Field Value
Type | Description |
---|---|
System.Int32 |
RequestEntityTooLarge
413 (Request Entity Too Large) HTTP status code.
Declaration
public const int RequestEntityTooLarge = 413
Field Value
Type | Description |
---|---|
System.Int32 |
RequestTimeout
408 (Request Timeout) HTTP status code.
Declaration
public const int RequestTimeout = 408
Field Value
Type | Description |
---|---|
System.Int32 |
RequestUriTooLong
414 (Request-URI Too Long) HTTP status code.
Declaration
public const int RequestUriTooLong = 414
Field Value
Type | Description |
---|---|
System.Int32 |
ResetContent
205 (Reset Content) HTTP status code.
Declaration
public const int ResetContent = 205
Field Value
Type | Description |
---|---|
System.Int32 |
SeeOther
303 (See Other) HTTP status code.
Declaration
public const int SeeOther = 303
Field Value
Type | Description |
---|---|
System.Int32 |
ServiceUnavailable
503 (Service Unavailable) HTTP status code.
Declaration
public const int ServiceUnavailable = 503
Field Value
Type | Description |
---|---|
System.Int32 |
SwitchProxy
306 (Switch Proxy) HTTP status code.
Declaration
public const int SwitchProxy = 306
Field Value
Type | Description |
---|---|
System.Int32 |
TemporaryRedirect
307 (Temporary Redirect) HTTP status code.
Declaration
public const int TemporaryRedirect = 307
Field Value
Type | Description |
---|---|
System.Int32 |
Unauthorized
401 (Unauthorized) HTTP status code.
Declaration
public const int Unauthorized = 401
Field Value
Type | Description |
---|---|
System.Int32 |
UnsupportedMediaType
415 (Unsupported Media Type) HTTP status code.
Declaration
public const int UnsupportedMediaType = 415
Field Value
Type | Description |
---|---|
System.Int32 |
UseProxy
305 (Use Proxy) HTTP status code.
Declaration
public const int UseProxy = 305
Field Value
Type | Description |
---|---|
System.Int32 |
VariantAlsoNegotiates
506 (Variant Also Negotiates) HTTP status code.
Declaration
public const int VariantAlsoNegotiates = 506
Field Value
Type | Description |
---|---|
System.Int32 |