This PR upgrades the http dependency to version 1. This allows directly converting from reqwest::Response to http::Response rather than manually building the response as shown in the example. Note that this conversion is only implemented for regular (async) responses, so the example (which uses reqwest::blocking) remains unchanged.
This PR upgrades the
http
dependency to version 1. This allows directly converting fromreqwest::Response
tohttp::Response
rather than manually building the response as shown in the example. Note that this conversion is only implemented for regular (async) responses, so the example (which usesreqwest::blocking
) remains unchanged.