I am using reqwest 0.10.10 to send the request to API and to get the response in a stream of bytes as required to multer, but when calling next_field fn I get the following error:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: multer: Multipart stream is incomplete'
Then I am not sure if because the content-type says the response is multipart/mixed multer won't work with this response.
Hello.
I would like to know if this crate can work with multipart/mixed data. I am consuming a REST API whose response is in the following format:
This is the content-type header:
I am using reqwest 0.10.10 to send the request to API and to get the response in a stream of bytes as required to
multer
, but when callingnext_field
fn I get the following error:Then I am not sure if because the content-type says the response is multipart/mixed multer won't work with this response.
Thank you for your help on this. All the best!