Crate http_status_codes2

Source
Expand description

Provides a representation of IANA’s HTTP Status Code Registry and search functions to query it.

A CLI is provided by the heman crate.

Modules§

status_code_registry
Representation of the Hypertext Transfer Protocol (HTTP) Status Code Registry

Functions§

find_by_code
Search for a HTTP status by its code in a given registry.
find_by_substring
Search a given registry for a HTTP statuses containing a substring (needle) in their description. Returns an iterator over the results.