HttpStatusCode type
定義 HttpStatusCode 的值。 可能的值包括:'Continue'、'SwitchingProtocols'、'OK'、'Created'、'Accepted'、'NonAuthoritativeInformation'、'NoContent'、'ResetContent'、'PartialContent'、'MultipleChoices'、'Ambiguous'、'MovedPermanently'、 'Moved'、'Found'、'Redirect'、'SeeOther'、'RedirectMethod'、'NotModified'、'UseProxy'、'Unused'、'TemporaryRedirect'、'RedirectKeepVerb'、'BadRequest'、'Unauthorized'、'PaymentRequired'、'Forbidden'、'NotFound'、'MethodNotAllowed'、'NotAcceptable'、'ProxyAuthenticationRequired'、'RequestTimeout'、'Conflict'、'Gone'、'LengthRequired'、 'PreconditionFailed'、'RequestEntityTooLarge'、'RequestUriTooLong'、'UnsupportedMediaType'、'RequestedRangeNotSatisfiable'、'ExpectationFailed'、'UpgradeRequired'、'InternalServerError'、'NotImplemented'、'BadGateway'、'ServiceUnavailable'、'GatewayTimeout'、'HttpVersionNotSupported'
type HttpStatusCode =
| "Continue"
| "SwitchingProtocols"
| "OK"
| "Created"
| "Accepted"
| "NonAuthoritativeInformation"
| "NoContent"
| "ResetContent"
| "PartialContent"
| "MultipleChoices"
| "Ambiguous"
| "MovedPermanently"
| "Moved"
| "Found"
| "Redirect"
| "SeeOther"
| "RedirectMethod"
| "NotModified"
| "UseProxy"
| "Unused"
| "TemporaryRedirect"
| "RedirectKeepVerb"
| "BadRequest"
| "Unauthorized"
| "PaymentRequired"
| "Forbidden"
| "NotFound"
| "MethodNotAllowed"
| "NotAcceptable"
| "ProxyAuthenticationRequired"
| "RequestTimeout"
| "Conflict"
| "Gone"
| "LengthRequired"
| "PreconditionFailed"
| "RequestEntityTooLarge"
| "RequestUriTooLong"
| "UnsupportedMediaType"
| "RequestedRangeNotSatisfiable"
| "ExpectationFailed"
| "UpgradeRequired"
| "InternalServerError"
| "NotImplemented"
| "BadGateway"
| "ServiceUnavailable"
| "GatewayTimeout"
| "HttpVersionNotSupported"