Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an implementation for RequestBuilder::from_parts and RequestBuilder::build_split for wasm targets #2268

Merged

Conversation

nickguletskii
Copy link
Contributor

@nickguletskii nickguletskii commented Apr 30, 2024

Currently, the implementation of RequestBuilder for WASM targets lacks an implementation of RequestBuilder::from_parts and RequestBuilder::build_split. I noticed this when the latest version of reqwest-middleware failed to compile for wasm32-unknown-unknown because these methods are missing.

Unless I am missing something, it should be safe to add these methods and let third party crates use them just like on native platforms.

@nickguletskii nickguletskii changed the title Add an implementation for RequestBuilder::build_split for wasm targets Add an implementation for RequestBuilder::from_parts and RequestBuilder::build_split for wasm targets Apr 30, 2024
Copy link
Owner

@seanmonstar seanmonstar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@seanmonstar seanmonstar merged commit 210c8a0 into seanmonstar:master Apr 30, 2024
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants