System::Net::HttpStatusCode 枚举
内容
[
隐藏
]HttpStatusCode enum
enum class HttpStatusCode
值
| 名称 | 值 | 描述 |
|---|---|---|
| Continue | 100 | ‘Continue’ 状态码对应 HTTP 状态 100。 |
| SwitchingProtocols | 101 | ‘Switching Protocol’ 状态码对应 HTTP 状态 101。 |
| OK | 200 | ‘OK’ 状态码对应 HTTP 状态 200。 |
| 已创建 | 201 | ‘Created’ 状态码对应 HTTP 状态 201。 |
| Accepted | 202 | ‘Accepted’ 状态码对应 HTTP 状态 202。 |
| NonAuthoritativeInformation | 203 | ‘Non-Authoritative Information’ 状态码对应 HTTP 状态 203。 |
| NoContent | 204 | ‘No Content’ 状态码对应 HTTP 状态 204。 |
| ResetContent | 205 | 等于 HTTP 状态 205 的 ‘Reset Content’ 状态码。 |
| PartialContent | 206 | 等于 HTTP 状态 206 的 ‘Partial Content’ 状态码。 |
| MultipleChoices | 300 | 等于 HTTP 状态 300 的 ‘Multiple Choice’ 状态码。 |
| Ambiguous | 300 | 等于 HTTP 状态 300 的 ‘Ambiguous’ 状态码。 |
| MovedPermanently | 301 | 等于 HTTP 状态 301 的 ‘Moved Permanently’ 状态码。 |
| Moved | 301 | 等于 HTTP 状态 301 的 ‘Moved’ 状态码。 |
| Found | 302 | 等于 HTTP 状态 302 的 ‘Found’ 状态码。 |
| Redirect | 302 | 等于 HTTP 状态 302 的 ‘Redirect’ 状态码。 |
| SeeOther | 303 | 等于 HTTP 状态 303 的 ‘See Other’ 状态码。 |
| RedirectMethod | 303 | 等于 HTTP 状态 303 的 ‘Redirect’ 状态码。 |
| NotModified | 304 | ‘Not Modified’ 状态码等于 HTTP 状态 304。 |
| UseProxy | 305 | ‘Use Proxy’ 状态码等于 HTTP 状态 305。 |
| Unused | 306 | ‘Switch Proxy’ 状态码等于 HTTP 状态 306。 |
| TemporaryRedirect | 307 | ‘Temporary Redirect’ 状态码等于 HTTP 状态 307。 |
| RedirectKeepVerb | 307 | ‘Redirect Keep Verb’ 状态码等于 HTTP 状态 307。 |
| PermanentRedirect | 308 | ‘Permanent Redirect’ 状态码等于 HTTP 状态 308。 |
| BadRequest | 400 | ‘Bad Request’ 状态码等于 HTTP 状态 400。 |
| Unauthorized | 401 | ‘Unauthorized’ 状态码等于 HTTP 状态 401。 |
| PaymentRequired | 402 | ‘Payment Required’ 状态码等于 HTTP 状态 402。 |
| 禁止 | 403 | ‘Forbidden’ 状态码等于 HTTP 状态 403。 |
| 未找到 | 404 | ‘Not Found’ 状态码等于 HTTP 状态 404。 |
| 方法不允许 | 405 | ‘Method Not Allowed’ 状态码等于 HTTP 状态 405。 |
| 不可接受 | 406 | ‘Not Acceptable’ 状态码等于 HTTP 状态 406。 |
| 需要代理身份验证 | 407 | ‘Proxy Authentication Required’ 状态码等于 HTTP 状态 407。 |
| 请求超时 | 408 | ‘Request Timeout’ 状态码等于 HTTP 状态 408。 |
| 冲突 | 409 | ‘Conflict’ 状态码等于 HTTP 状态 409。 |
| 已删除 | 410 | ‘Gone’ 状态码等于 HTTP 状态 410。 |
| 需要内容长度 | 411 | 该 ‘Length Required’ 状态码等于 HTTP 状态 411。 |
| PreconditionFailed | 412 | 该 ‘Precondition Failed’ 状态码等于 HTTP 状态 412。 |
| RequestEntityTooLarge | 413 | 该 ‘Request Entity Too Large’ 状态码等于 HTTP 状态 413。 |
| RequestUriTooLong | 414 | 该 ‘Request-URI Too Long’ 状态码等于 HTTP 状态 414。 |
| UnsupportedMediaType | 415 | 该 ‘Unsupported Media Type’ 状态码等于 HTTP 状态 415。 |
| RequestedRangeNotSatisfiable | 416 | 该 ‘Requested Range Not Satisfiable’ 状态码等于 HTTP 状态 416。 |
| ExpectationFailed | 417 | 该 ‘Expectation Failed’ 状态码等于 HTTP 状态 417。 |
| UpgradeRequired | 426 | 该 ‘Upgrade Required’ 状态码等于 HTTP 状态 426。 |
| InternalServerError | 500 | 等于 HTTP 状态码 500 的 ‘Internal Server Error’ 状态码。 |
| NotImplemented | 501 | 等于 HTTP 状态码 501 的 ‘Not Implemented’ 状态码。 |
| BadGateway | 502 | 等于 HTTP 状态码 502 的 ‘Bad Gateway’ 状态码。 |
| ServiceUnavailable | 503 | 等于 HTTP 状态码 503 的 ‘Service Unavailable’ 状态码。 |
| GatewayTimeout | 504 | 等于 HTTP 状态码 504 的 ‘Gateway Timeout’ 状态码。 |
| HttpVersionNotSupported | 505 | 等于 HTTP 状态码 505 的 ‘HTTP Version Not Supported’ 状态码。 |
另见
- Namespace System::Net
- Library Aspose.Font for C++