headers
headers copied to clipboard
Typed HTTP Headers from hyper
This crate comes with a lot of utilities which aren't available in public API space. This leads to people having to define their own utilities for very similar headers. In...
Hi, first of all thank you for creating this crate. I would like to offer my help in maintaining it, e.g. by handling open Pull Requests, going through open issues,...
This library lack support for parsing and creating [Server-Timings headers](https://w3c.github.io/server-timing/#dom-performanceservertiming-duration). There can be multiple in a request, and one header can have multiple metrics with each metric having a name...
The `Range` header is one of the least useful header types in this library. Most of these problems stem from the fact that it contains only a string `HeaderValue`, instead...
[a weak entity tag must not be used with If-Range](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Range), but there is no easy way to check if an `ETag` is weak. additionally, [`IfRange::etag`](https://docs.rs/headers/latest/headers/struct.IfRange.html#method.etag) is infallible, which means it...
This behaviour matches other CORS headers like `Access-Control-Allow-Headers` and fixes a parsing bug. As per https://httpwg.org/specs/rfc9110.html#abnf.extension, empty elements in the header are allowed, but previously `AccessControlAllowHeaders::iter` would incorrectly finish the...