{ "id": "api/common/http/HttpStatusCode", "title": "HttpStatusCode", "contents": "\n\n
\n
\n
\n \n API > @angular/common > @angular/common/http\n
\n \n
\n \n
\n

HttpStatusCodelink

\n \n \n \n \n \n
\n \n \n\n
\n \n
\n

Http status codes.\nAs per https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml

\n\n \n
\n \n \n \n \n\n \n
\n\nenum HttpStatusCode {\n Continue: 100\n SwitchingProtocols: 101\n Processing: 102\n EarlyHints: 103\n Ok: 200\n Created: 201\n Accepted: 202\n NonAuthoritativeInformation: 203\n NoContent: 204\n ResetContent: 205\n PartialContent: 206\n MultiStatus: 207\n AlreadyReported: 208\n ImUsed: 226\n MultipleChoices: 300\n MovedPermanently: 301\n Found: 302\n SeeOther: 303\n NotModified: 304\n UseProxy: 305\n Unused: 306\n TemporaryRedirect: 307\n PermanentRedirect: 308\n BadRequest: 400\n Unauthorized: 401\n PaymentRequired: 402\n Forbidden: 403\n NotFound: 404\n MethodNotAllowed: 405\n NotAcceptable: 406\n ProxyAuthenticationRequired: 407\n RequestTimeout: 408\n Conflict: 409\n Gone: 410\n LengthRequired: 411\n PreconditionFailed: 412\n PayloadTooLarge: 413\n UriTooLong: 414\n UnsupportedMediaType: 415\n RangeNotSatisfiable: 416\n ExpectationFailed: 417\n ImATeapot: 418\n MisdirectedRequest: 421\n UnprocessableEntity: 422\n Locked: 423\n FailedDependency: 424\n TooEarly: 425\n UpgradeRequired: 426\n PreconditionRequired: 428\n TooManyRequests: 429\n RequestHeaderFieldsTooLarge: 431\n UnavailableForLegalReasons: 451\n InternalServerError: 500\n NotImplemented: 501\n BadGateway: 502\n ServiceUnavailable: 503\n GatewayTimeout: 504\n HttpVersionNotSupported: 505\n VariantAlsoNegotiates: 506\n InsufficientStorage: 507\n LoopDetected: 508\n NotExtended: 510\n NetworkAuthenticationRequired: 511\n}\n\n
\n\n\n\n
\n

Memberslink

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
MemberDescription
\n \n Continue: 100\n \n \n \n \n
\n \n SwitchingProtocols: 101\n \n \n \n \n
\n \n Processing: 102\n \n \n \n \n
\n \n EarlyHints: 103\n \n \n \n \n
\n \n Ok: 200\n \n \n \n \n
\n \n Created: 201\n \n \n \n \n
\n \n Accepted: 202\n \n \n \n \n
\n \n NonAuthoritativeInformation: 203\n \n \n \n \n
\n \n NoContent: 204\n \n \n \n \n
\n \n ResetContent: 205\n \n \n \n \n
\n \n PartialContent: 206\n \n \n \n \n
\n \n MultiStatus: 207\n \n \n \n \n
\n \n AlreadyReported: 208\n \n \n \n \n
\n \n ImUsed: 226\n \n \n \n \n
\n \n MultipleChoices: 300\n \n \n \n \n
\n \n MovedPermanently: 301\n \n \n \n \n
\n \n Found: 302\n \n \n \n \n
\n \n SeeOther: 303\n \n \n \n \n
\n \n NotModified: 304\n \n \n \n \n
\n \n UseProxy: 305\n \n \n \n \n
\n \n Unused: 306\n \n \n \n \n
\n \n TemporaryRedirect: 307\n \n \n \n \n
\n \n PermanentRedirect: 308\n \n \n \n \n
\n \n BadRequest: 400\n \n \n \n \n
\n \n Unauthorized: 401\n \n \n \n \n
\n \n PaymentRequired: 402\n \n \n \n \n
\n \n Forbidden: 403\n \n \n \n \n
\n \n NotFound: 404\n \n \n \n \n
\n \n MethodNotAllowed: 405\n \n \n \n \n
\n \n NotAcceptable: 406\n \n \n \n \n
\n \n ProxyAuthenticationRequired: 407\n \n \n \n \n
\n \n RequestTimeout: 408\n \n \n \n \n
\n \n Conflict: 409\n \n \n \n \n
\n \n Gone: 410\n \n \n \n \n
\n \n LengthRequired: 411\n \n \n \n \n
\n \n PreconditionFailed: 412\n \n \n \n \n
\n \n PayloadTooLarge: 413\n \n \n \n \n
\n \n UriTooLong: 414\n \n \n \n \n
\n \n UnsupportedMediaType: 415\n \n \n \n \n
\n \n RangeNotSatisfiable: 416\n \n \n \n \n
\n \n ExpectationFailed: 417\n \n \n \n \n
\n \n ImATeapot: 418\n \n \n \n \n
\n \n MisdirectedRequest: 421\n \n \n \n \n
\n \n UnprocessableEntity: 422\n \n \n \n \n
\n \n Locked: 423\n \n \n \n \n
\n \n FailedDependency: 424\n \n \n \n \n
\n \n TooEarly: 425\n \n \n \n \n
\n \n UpgradeRequired: 426\n \n \n \n \n
\n \n PreconditionRequired: 428\n \n \n \n \n
\n \n TooManyRequests: 429\n \n \n \n \n
\n \n RequestHeaderFieldsTooLarge: 431\n \n \n \n \n
\n \n UnavailableForLegalReasons: 451\n \n \n \n \n
\n \n InternalServerError: 500\n \n \n \n \n
\n \n NotImplemented: 501\n \n \n \n \n
\n \n BadGateway: 502\n \n \n \n \n
\n \n ServiceUnavailable: 503\n \n \n \n \n
\n \n GatewayTimeout: 504\n \n \n \n \n
\n \n HttpVersionNotSupported: 505\n \n \n \n \n
\n \n VariantAlsoNegotiates: 506\n \n \n \n \n
\n \n InsufficientStorage: 507\n \n \n \n \n
\n \n LoopDetected: 508\n \n \n \n \n
\n \n NotExtended: 510\n \n \n \n \n
\n \n NetworkAuthenticationRequired: 511\n \n \n \n \n
\n
\n\n \n\n\n
\n
\n\n\n" }