hyper
hyper copied to clipboard
An HTTP library for Rust
The integration tests checking the `Connector` and Pool parts of `Client` should be ported to the `hyper-util` crate. Not necessarily copy and paste, but that each logical case is tested....
The current server API is callback-based, where `Service` is called whenever a request is received. Some applications need to invert it such that they take a request only when they...
**Version** commit bd6c35b98f9513f14ed9cecad933bc7fdb8635ea **Platform** Linux 5.14.0-3-amd64 #1 SMP Debian 5.14.12-1 (2021-10-14) x86_64 GNU/Linux **Description** I run curl using hyper as a HTTP backend and I suddenly ran into a problem....
Both the client and server tests (`tests/client.rs` and `tests/server.rs`) started with small abstractions, but they weren't flexible enough, and so as more complicated cases were needed, the tests just got...
The http crate is already a public dependency of Hyper, and some items from it are already exported from Hyper. Let's remove the `#[doc(hidden)]` on `pub use http;`. Projects out...
As per [RFC 8441](https://datatracker.ietf.org/doc/html/rfc8441#section-4): > On requests that contain the :protocol pseudo-header field, the :scheme and :path pseudo-header fields of the target URI (see [Section 5](https://datatracker.ietf.org/doc/html/rfc8441#section-5)) MUST also be included....
Hi, below are results from a "Hello World" micro-benchmark comparing hyper 1.0 (52f192593fb9ebcf6d3894e0c85cbf710da4decd) and uWebSocket both running on a current_thread event loop. ``` # uWebSocket divy@mini ~> wrk -d 10s...
I'm trying to work with an API on an internal server, and hyper keeps blowing away the connection due to "invalid HTTP header parsed". There doesn't appear to be a...
This adds CI job that runs `cargo-check-external-types` against a whitelist of exported types. Whitelist in https://github.com/hyperium/hyper/issues/2925#issuecomment-1362473727 didn't change. For now the nightly for this needs to be pinned to `nightly-2022-11-16`,...
Adds limited clippy run to CI. There were two clippy warnings which seemed useful, they're in the second commit. If you don't like them I'm happy to drop the commit....