headers
headers copied to clipboard
Typed HTTP Headers from hyper
[`Forwarded`](https://datatracker.ietf.org/doc/html/rfc7239) is the standardized counterpart to `x-forwarded-*`.
Copies over the Link header from the disabled folder and tries to make the smallest necessary changes to get it working.
Currently the `CacheControl` header is missing the `immutable` directivewhich tells the browser to never revalidate the resource. In addition to the new directive I added a few missing getters/setters.
After the extraction of this crate from the main hyper codebase, the `Link` header was removed from the public API and moved into the `disabled/` directory. Having a parser for...
In some instances there can be an unrelated, invalid cookie which prevents any cookies from being accessed as `HeaderValue::to_str` returns `None` due to non-ascii characters. By providing a way to...
There is an attribute of `HeaderValue` that [marks it as "sensitive"](https://docs.rs/http/0.1.*/http/header/struct.HeaderValue.html#method.is_sensitive). This currently has 2 effects: - In HTTP2, the [HPACK never-indexed-literals](https://httpwg.org/specs/rfc7541.html#never.indexed.literals) flag is set. This keeps the value from...
Users don't always need all the functionality, we should use feature flags to let them choose, thereby reducing compilation time
Hi, Is this [draft](https://httpwg.org/http-extensions/draft-ietf-httpbis-header-structure.html) planned to be supported by the project? I'd like to implement the Reporting API for the servo project and i need to parse the ["Reporting-Endpoints" header](https://w3c.github.io/reporting/#header)....
Hello, I'm packaging `headers` for Fedora and I noticed that it uses `sha-1` which depends on quite some number of crates which had last release in 2016/2017 and we try...
This commit add "stale-while-revalidate" and "stale-if-error" for Cache-Control (defined by RFC5861)