matlab.net.http.StatusCode Class
Namespace: matlab.net.http
Status code in HTTP response
Description
The StatusCode
enumeration class provides identifiers for status codes.
This list is from the 2018-09-21 version of the IANA HTTP Status Code registry, https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml.
Integer Represen- tation | Enumeration Member Name | Integer Represen- tation | Enumeration Member Name | Integer Represen- tation | Enumeration Member Name |
---|---|---|---|---|---|
100 | Continue | 400 | BadRequest | 500 | InternalServerError |
101 | SwitchingProtocols | 401 | Unauthorized | 501 | NotImplemented |
102 | Processing | 402 | PaymentRequired | 502 | BadGateway |
103 | EarlyHints | 403 | Forbidden | 503 | ServiceUnavailable |
200 | OK | 404 | NotFound | 504 | GatewayTimeout |
201 | Created | 405 | MethodNotAllowed | 505 | HTTPVersionNotSupported |
202 | Accepted | 406 | NotAcceptable | 506 | VariantAlsoNegotiates |
203 | NonAuthoritativeInformation | 407 | ProxyAuthenticationRequired | 507 | InsufficientStorage |
204 | NoContent | 408 | RequestTimeout | 508 | LoopDetected |
205 | ResetContent | 409 | Conflict | 509 | Unassigned |
206 | PartialContent | 410 | Gone | 510 | NotExtended |
207 | MultiStatus | 411 | LengthRequired | 511 | HTTPVersionNotSupported |
208 | AlreadyReported | 412 | PreconditionFailed | 451 | UnavailableForLegalReasons |
226 | IMUsed | 413 | PayloadTooLarge | ||
414 | URITooLong | ||||
300 | MultipleChoices | 415 | UnsupportedMediaType | ||
301 | MovedPermanently | 416 | RangeNotSatisfiable | ||
302 | Found | 417 | ExpectationFailed | ||
303 | SeeOther | 421 | MisdirectedRequest | ||
304 | NotModified | 422 | UnprocessableEntity | ||
305 | UseProxy | 423 | Locked | ||
306 | SwitchProxy | 424 | FailedDependency | ||
307 | TemporaryRedirect | 426 | UpgradeRequired | ||
308 | PermanentRedirect | 428 | PreconditionRequired | ||
429 | TooManyRequests | ||||
431 | RequestHeaderFieldsTooLarge |
Methods
Examples
Version History
Introduced in R2016b