http_status_code.hpp 文件参考

HTTP 状态代码定义。 更多。。。

#include <string>

命名空间

namespace  

Azure

使用 SHA256、SHA384 和 SHA512 计算输入二进制数据的哈希值。

枚举

enum class  

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

定义可能的 HTTP 状态代码。 更多。。。

枚举类型文档

HttpStatusCode

enum class Azure::Core::Http::HttpStatusCode strong

枚举器

None 

无 HTTP 状态代码。

Continue 

HTTP 100 继续。

SwitchingProtocols 

HTTP 101 切换协议。

Processing 

HTTP 102 处理。

EarlyHints 

HTTP 103 早期提示。

Ok 

HTTP 200 正常。

Created 

HTTP 201 已创建。

Accepted 

HTTP 202 已接受。

NonAuthoritativeInformation 

HTTP 203 非权威信息。

NoContent 

HTTP 204 无内容。

ResetContent 

HTTP 205 Rest 内容。

PartialContent 

HTTP 206 部分内容。

MultiStatus 

HTTP 207 多状态。

AlreadyReported 

HTTP 208 已报告。

IMUsed 

已使用 HTTP 226 IM。

MultipleChoices 

HTTP 300 多个选项。

MovedPermanently 

HTTP 301 永久移动。

Found 

HTTP 302 已找到。

SeeOther 

HTTP 303 请参阅其他。

NotModified 

HTTP 304 未修改。

UseProxy 

HTTP 305 使用代理。

TemporaryRedirect 

HTTP 307 临时重定向。

PermanentRedirect 

HTTP 308 永久重定向。

BadRequest 

HTTP 400 错误 请求

Unauthorized 

HTTP 401 未授权。

PaymentRequired 

需要 HTTP 402 付款。

Forbidden 

HTTP 403 禁止访问。

NotFound 

找不到 HTTP 404。

MethodNotAllowed 

不允许使用 HTTP 405 方法。

NotAcceptable 

HTTP 406 不可接受。

ProxyAuthenticationRequired 

需要 HTTP 407 代理身份验证。

RequestTimeout 

HTTP 408 请求 超时。

Conflict 

HTTP 409 冲突。

Gone 

HTTP 410 消失。

LengthRequired 

需要 HTTP 411 长度。

PreconditionFailed 

HTTP 412 前置条件失败。

PayloadTooLarge 

HTTP 413 有效负载太大。

UriTooLong 

HTTP 414 URI 太长。

UnsupportedMediaType 

HTTP 415 不支持的媒体类型。

RangeNotSatisfiable 

HTTP 416 范围无法满足。

ExpectationFailed 

HTTP 417 预期失败。

MisdirectedRequest 

HTTP 421 错误定向 请求

UnprocessableEntity 

HTTP 422 不可处理实体。

Locked 

HTTP 423 已锁定。

FailedDependency 

HTTP 424 失败的依赖项。

TooEarly 

HTTP 425 太早。

UpgradeRequired 

需要 HTTP 426 升级。

PreconditionRequired 

需要 HTTP 428 前置条件。

TooManyRequests 

HTTP 429 请求过多。

RequestHeaderFieldsTooLarge 

HTTP 431 请求 标头字段太大。

UnavailableForLegalReasons 

HTTP 451 因法律原因不可用。

InternalServerError 

HTTP 500 内部服务器错误。

NotImplemented 

HTTP 501 未实现。

BadGateway 

HTTP 502 错误的网关。

ServiceUnavailable 

HTTP 503 不可用。

GatewayTimeout 

HTTP 504 网关超时。

HttpVersionNotSupported 

不支持 HTTP 505 HTTP 版本。

VariantAlsoNegotiates 

HTTP 506 变体也协商。

InsufficientStorage 

HTTP 507 存储不足。

LoopDetected 

检测到 HTTP 508 循环。

NotExtended 

HTTP 510 未扩展。

NetworkAuthenticationRequired 

需要 HTTP 511 网络身份验证。