http-rs / http-rs/http-types

No way to get status code string from server

Open
#352 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
209
Forks
91
PR merge metrics
No merged PRs in 30d

Description

If an HTTP server returns a message other than the canonical one, such as to provide a more detailed error message, as far as I can tell `Response` provides no way to obtain that message. We should optimize for the case of no message or the canonical message, but it should be *possible* to get whatever message the server returned.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.