You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great... I spent a week learning Rust and doing exactly this to send 1 request and return its response.
I am converting the incoming request body (bytes) into reqwest::Body::from(raw_body); and then building the response from reqwest::Response attributes.
I added the conversion from reqwest::Response to http::Response<reqwest::Body> as well as reqwest::Body as http_body::Body in #2060. That PR should fix this issue.
Currently I have an endpoint that just makes requests to individual services and there's no way currently to bridge between the two
Response
types.This could be fixed by adding a
into_http()
oras_http()
to theResponse
type.The text was updated successfully, but these errors were encountered: