Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prevent panic on StatusCode conversion
http_types::StatusCode doesn't support all status codes that http::StatusCode supports, but still implements From<http::StatusCode>, just with an `unwrap`. This is unfortunate because it can cause the client to panic upon responses that contain status codes not explicitly supported by http_types.
- Loading branch information