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 狀態碼。 其他...

列舉類型文件

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 OK。

Created 

HTTP 201 已建立。

Accepted 

HTTP 202 已接受。

NonAuthoritativeInformation 

HTTP 203 非權威資訊。

NoContent 

HTTP 204 無內容。

ResetContent 

HTTP 205 休止內容。

PartialContent 

HTTP 206 部分內容。

MultiStatus 

HTTP 207 多重狀態。

AlreadyReported 

HTTP 208 已經報告過了。

IMUsed 

HTTP 226 即時通訊使用。

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 網路認證。