Data frame with possible status codes and default messages based on RFC 9110. See also https://developer.mozilla.org/en-US/docs/Web/HTTP/Status.
Examples
str(http_status_codes)
#> 'data.frame': 62 obs. of 3 variables:
#> $ category: chr "Informational" "Informational" "Informational" "Informational" ...
#> $ status : int 100 101 102 103 200 201 202 203 204 205 ...
#> $ message : chr "Continue" "Switching Protocols" "Processing" "Early Hints" ...
http_status_codes[http_status_codes$category == "Successful",]
#> category status message
#> 200 Successful 200 OK
#> 201 Successful 201 Created
#> 202 Successful 202 Accepted
#> 203 Successful 203 Non-Authoritative Information
#> 204 Successful 204 No Content
#> 205 Successful 205 Reset Content
#> 206 Successful 206 Partial Content
#> 207 Successful 207 Multi-Status
#> 208 Successful 208 Already Reported
#> 226 Successful 226 IM Used
http_status_codes["500",]
#> category status message
#> 500 Server Error 500 Internal Server Error