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

Makes the crate unconditionally `#![no_std]` and pulls in `extern crate alloc` and `extern crate std` as configured by feature flags (`std` remains the default). All functionality other than `HeaderMap::try_from::` can...

On 2025-01-07 the [QUERY HTTP method, "a safe, idempotent request method that can carry request content." has reached ~the level of a Proposed Standard~ consensus and is on track to...

Hi, `http` is a critical piece of the prime FOSS project of my company, rama. And as such we even have it embedded and exposed it directly in the core...

I'm working with `http::HeaderMap` and noticed that `HeaderMap::get`, `HeaderMap::insert`, and `HeaderName::from_static` all seem to be case sensitive (in fact, the latter panics: ```rs HeaderName::from_static("Content-Type") ``` panics with: ``` index out...

since `AsHeaderName` is already implemented for both `&'a str` and `String` it seems to makes sense thats it should also be implemented for a type which can represent both `Cow

S-feature
E-easy
A-headers

i'm a huge fan of this library, everything about this library makes creating network services extremely pleasant. as cited in the [rfc 2616](https://datatracker.ietf.org/doc/html/rfc2616#section-13.5.1) `"keep-alive"` is a _hop-by-hop header_ and shouldn't...

This PR includes two commits: 1. Improves integer conversion performance in `HeaderValue`: it eliminates an extra heap allocation by using `itoa`'s stack-allocated buffer instead. 2. Adds `WordRegister` for efficient word-sized...

Following up on #787, I noticed the TODO comment suggests removing the `checked_add` since it's redundant given MAX_SIZE bounds. Since I'm familiar with this code area, I wanted to implement...

IESG has just confirmed promoting QUERY to Proposed Standard: https://lists.w3.org/Archives/Public/ietf-http-wg/2025OctDec/0208.html