HTTP status code
ID http_status_code
DatatypeNot PIIcategoricalDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Three-digit code with which an HTTP server reports the result of a request. The first digit gives the class: 1xx informational, 2xx successful, 3xx redirection, 4xx client error and 5xx server error, and all valid codes are between 100 and 599. Examples are 200 (OK), 301 (Moved Permanently), 404 (Not Found) and 500 (Internal Server Error). RFC 9110 defines the codes, and IANA keeps their registry. Web server logs and API monitoring data store them.
- Categories
- Internet
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- AutoType benchmark
httpstatus- Quality
- 100/100
- Metacrafter rules
- no detection rule yet
- Supported by tools
- Alteryx Designer Cloud, Auto-Type, Great Expectations Semantic Types Expectations
Regular expression
^[1-5]\d{2}$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 200 | OK |
| 404 | Not Found |
| 503 | Service Unavailable |
| 101 | Switching Protocols |
| 600 invalid | Outside the range 100 to 599 |
| 99 invalid | Two digits |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Код состояния HTTP | Трёхзначный код результата обработки HTTP-запроса от 100 до 599; первая цифра задаёт класс ответа. |
Sources
- wikipedia: https://en.wikipedia.org/wiki/List_of_HTTP_status_codes
- doc: https://www.rfc-editor.org/rfc/rfc9110.html#name-status-codes
- doc: https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
- other: https://github.com/congy/AutoType/blob/master/data_release/httpstatus.txt
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/http_status_code - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/internet/http_status_code.yamlon GitHub