ideamans-hudsucker
Fork of hudsucker with HTTP/2 request-response correlation support.
This fork adds request_method and request_uri fields to HttpContext, enabling handlers to properly correlate responses with their originating requests. This is particularly important for HTTP/2 multiplexing where responses may arrive out of order.
Upstream PR: https://github.com/omjadas/hudsucker/pull/165
Hudsucker is a MITM HTTP/S proxy written in Rust that allows you to:
- Modify HTTP/S requests
- Modify HTTP/S responses
- Modify WebSocket messages
What's New in This Fork (v0.25.0)
HTTP/2 Request-Response Correlation
The HttpContext now includes request information, allowing handlers to correlate responses with their originating requests:
Breaking Changes from upstream hudsucker 0.24.0:
HttpContextnow hasrequest_methodandrequest_urifields#[non_exhaustive]removed fromHttpContext
See CHANGELOG.md for details.
Features
decoder: Enablesdecode_requestanddecode_responsehelpers (enabled by default).full: Enables all features.http2: Enables HTTP/2 support.native-tls-client: EnablesProxyBuilder::with_native_tls_connector.openssl-ca: Enablescertificate_authority::OpensslAuthority.rcgen-ca: Enablescertificate_authority::RcgenAuthority(enabled by default).rustls-client: EnablesProxyBuilder::with_rustls_connector(enabled by default).
Installation
Add this to your Cargo.toml:
[]
= "0.25.0"
Usage
For usage, refer to the provided examples.
Built With Hudsucker
License
Licensed under either of
at your option.
Contribution
This is a fork maintained by Ideamans. For contributions to the upstream project, see omjadas/hudsucker.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.