http
http copied to clipboard
Rust HTTP types
This change adds Natvis visualizations for some `http` types to help improve the debugging experience on Windows. Debugging types such as `Request` and/or `Response` under a Windows debugger, WinDbg or...
# Proposal I noticed you've reserved the `http-core` crate. Would there be interest in moving some of the primitives from `http` down to it? I'm thinking: - definitely: - `Method`...
Hello, I'm currently in need of a correct `Uri` parser, and I believe the best URI implementation is the one in this crate. However, I don't want to add the...
This PR turns the crate into `no_std` compatible replacing `std` references with `core` + `alloc` and adding the `std` feature where needed(`std::error::Error` support). Also tried to make the dependency on...
So we can replace https://github.com/hyperium/http/blob/master/src/header/name.rs#L1258 ```rs ([] as [u8; 0])[0]; // Invalid header name ``` with adequate ```rs panic!("Invalid header name"); ``` Or im missing something and it will not...
See the Mozilla documentation on [COOP](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Opener-Policy) and [COEP](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Embedder-Policy). i noticed that some of the documentation was basically copy-pasted from the Mozilla documentation, so I did the same. Happy to use...
As suggested in #230, I added `TryFrom` ``, `` and `` and `From` for the same integer types, and re-implemented `` with the same macro. Oddly enough, if I stop...
This change is in response to hyperium/hyper#2714.
This is in matching with the new HTTP Semantics RFC 9110. This PR is in draft form. The type renaming and creation of deprecated aliases has been done and compiles,...