HttpStatusCode type
定义 HttpStatusCode 的值。
KnownHttpStatusCode 可与 HttpStatusCode 互换使用,此枚举包含服务支持的已知值。
服务支持的已知值
继续
SwitchingProtocols
正常
已创建
已接受
NonAuthoritativeInformation
NoContent
ResetContent
PartialContent
MultipleChoices
模棱两可的
MovedPermanently
已移动
找到
重定向
SeeOther
RedirectMethod
NotModified
UseProxy
未使用的
TemporaryRedirect
RedirectKeepVerb
BadRequest
未经授权的
PaymentRequired
禁止
NotFound
MethodNotAllowed
NotAcceptable
ProxyAuthenticationRequired
RequestTimeout
冲突
LengthRequired
PreconditionFailed
RequestEntityTooLarge
RequestUriTooLong
UnsupportedMediaType
RequestedRangeNotSatisfiable
ExpectFailed
UpgradeRequired
InternalServerError
NotImplemented
BadGateway
ServiceUnavailable
GatewayTimeout
HttpVersionNotSupported
type HttpStatusCode = string