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
Currently (v0.11.22), compiling for --target=wasm32-unknown-unknown leads to a missing fn headers() for setting the headers of a multipart form. It seems to me, that the wasm implementation is simply missing the method fn headers in impl Part and impl PartMetadata respectively. I have forked the repository, added the two missing methods into a branch based on tag 0.11.2, and reqwest compiles just fine for the wasm target. I haven't been able to test the method yet though.
Was it intended for these functions to be missing for wasm?
The text was updated successfully, but these errors were encountered:
If a method is missing, and adding it doesn't require adding a new dependency or exposing something unique to WASM, then we likely just forgot about it.
Currently (v0.11.22), compiling for
--target=wasm32-unknown-unknown
leads to a missingfn headers()
for setting the headers of a multipart form. It seems to me, that the wasm implementation is simply missing the methodfn headers
inimpl Part
andimpl PartMetadata
respectively. I have forked the repository, added the two missing methods into a branch based on tag 0.11.2, and reqwest compiles just fine for the wasm target. I haven't been able to test the method yet though.Was it intended for these functions to be missing for wasm?
The text was updated successfully, but these errors were encountered: