headers
headers copied to clipboard
Typed HTTP Headers from hyper
I'm one of the maintainers for the [Volta](https://volta.sh) project, and got a Dependabot upgrade PR to bump from headers v0.3 to v0.4. I came here to find out what those...
Rebasing #51 onto the latest `master` (since the PR does not seem active). Although we also have #150, it seems not working since it does not solve the compile errors.
It seems we should expose the construction of`Bearer`.
This PR is the same as #51 but with no merge conflicts.
Hi! Axum's change to `TypedHeader` (via [this issue](https://github.com/tokio-rs/axum/issues/1781)) made it that decode is called on an empty iterator of values. However, `IfMatch` and probably more headers now always succeed even...
This updates base64 to the latest version.
I wouldn't expect this to pass. It doesn't for `ETag` but it seems to work for `IfMatch` for some reason ```rs use headers::Header as _; fn main() { let _...
I am using this crate for dealing with headers for example `Cache-Control` and I find it very helpful to create headers in general with this lib. But unfortunately most of...
The [`impl Header for Dnt` example](https://docs.rs/headers/latest/headers/#implementing-the-header-trait) is a good start, but it doesn't explain the actual semantics of the iterator-based design. Example questions which would be nice to have answered...
This adds support for [RFC1864: The Content-MD5 Header Field](https://datatracker.ietf.org/doc/html/rfc1864). I understand that `Content-MD5` is not an HTTP/1.1 header and therefore doesn't necessarily fit in with the `http` and `headers` crates...