Replies: 1 comment
-
Check out the second example from #2767 (comment), I think it solves the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Hi, I'm trying to send the incoming request body (which in my case is a multipart) with reqwest, but it must be streamed as the body could be very big.
This is my current code:
But I get this error on the
Body::wrap_stream
line:I tried several things already but I can't figure out the way to do it and why I get this error. Tried doing something similar to the stream-to-file example but I get the errors that body is not a map. And the reqwest-response is doing it the other way.
Can someone please point me out what am I doing wrong and/or point out a way to do it?
axum version
0.7.5 -F multipart
reqwest version
0.12.4 -F json,stream
Beta Was this translation helpful? Give feedback.
All reactions