Web, HTTP & devices
HTTP status codes
The IANA HTTP status code registry with reason phrases and class, for error-handling and mock-server tests.
- reference
- Public domain
- 3 columns
About this dataset
Every status code in the IANA HTTP status code registry with its reason phrase and class (1xx to 5xx).
Typical use: Validate client error handling or script mock endpoints that return each status class.
Columns
3 columns, 62 rows by default.
| Column | Type | Source |
|---|---|---|
code | string | From the source file (code) |
reason | string | From the source file (reason) |
class | string | From the source file (class) |
Preview
First 20 rows. Download for up to 1,000.
| code | reason | class |
|---|---|---|
| 100 | Continue | 1xx |
| 101 | Switching Protocols | 1xx |
| 102 | Processing | 1xx |
| 103 | Early Hints | 1xx |
| 104 | Upload Resumption Supported (TEMPORARY - registered 2024-11-13, extension registered 2025-09-15, expires 2026-11-13) | 1xx |
| 200 | OK | 2xx |
| 201 | Created | 2xx |
| 202 | Accepted | 2xx |
| 203 | Non-Authoritative Information | 2xx |
| 204 | No Content | 2xx |
| 205 | Reset Content | 2xx |
| 206 | Partial Content | 2xx |
| 207 | Multi-Status | 2xx |
| 208 | Already Reported | 2xx |
| 226 | IM Used | 2xx |
| 300 | Multiple Choices | 3xx |
| 301 | Moved Permanently | 3xx |
| 302 | Found | 3xx |
| 303 | See Other | 3xx |
| 304 | Not Modified | 3xx |
License
Values in downloads are plain text. In the JSON file every value is a string, matching the CSV cell. See Dataset Library docs for licensing details and how to bind a dataset to a test.