Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

impl From<hyper::Body> for Body #1236

Merged
merged 1 commit into from Apr 8, 2021

Conversation

jonhoo
Copy link
Contributor

@jonhoo jonhoo commented Apr 8, 2021

This implements a conversion from hyper::Body to reqwest::Body,
which in turn enables converting a http::Request<hyper::Body> into
reqwest::Request through the existing TryFrom implementation.

Fixes #1156.

This implements a conversion from `hyper::Body` to `reqwest::Body`,
which in turn enables converting a `http::Request<hyper::Body>` into
`reqwest::Request` through the existing `TryFrom` implementation.

Fixes seanmonstar#1156.
@seanmonstar seanmonstar merged commit 7d8c327 into seanmonstar:master Apr 8, 2021
@jonhoo jonhoo deleted the from_hyper_body branch April 8, 2021 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement From<http::Request<hyper::Body>> for reqwest::Request
2 participants