http icon indicating copy to clipboard operation
http copied to clipboard

Rust HTTP types

Results 189 http issues
Sort by recently updated
recently updated
newest added

The HTTP QUERY method is a means of making a safe, idempotent request that contains content. The primary motivator for this case is graphql, replacing HTTP POST for read only...

This is a follow up of a PR in https://github.com/seanmonstar/httparse/pull/178 This is mainly to allow incoming request that may have utf8 char in their path or query as some browsers...

Currently using `from_static` to build `Uri`, `Authority`, or `PathAndQuery` types can't be done in a const context. From inspecting what they do under the hood, it seems like the parsing...

S-feature
E-easy
A-uri

This blocks header values with leading and trailing whitespace. This is not needed for HTTP/1.x where the parser already strips such whitespace, but in HTTP/2 and HTTP/3 the parser does...

This PR is similar to other no-std PRs, however it takes the approach of using the new [`core::error`] module in Rust 1.81. This means that no-std mode has an MSRV...

Don't even need to feature-gate it or anything, this works on 1.49.

Hey maintainer, I've implemented the `Display` trait for the `Version` enum to align its use with other components such as Uri and Method. This enhancement simplifies code when working with...

Hello, I just noticed that the [EARLY_HINTS](https://www.rfc-editor.org/rfc/rfc8297#section-2) status is not added, so raising this PR to add it in case it makes sense.

In some cases, I may already own the pre-allocated readonly `&[u8]` with the header name/values. How difficult would it be to support the case to create a `HeaderName` that does...

As stated in the PR title. No reason to not have it be a static string reference.