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

WASM: Add try_clone implementations to Request and RequestBuilder #1286

Merged
merged 1 commit into from Jun 14, 2021

Conversation

kjvalencik
Copy link
Contributor

Currently the wasm client does not implement try_clone on Request or RequestBuilder like the blocking and async clients.

This PR adds infallible try_clone implementations to the wasm client to improve the API parity.

Note: Even though these APIs are infallible on wasm (no streaming bodies), I chose to keep the API identical.

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.

Woot, thanks!

@seanmonstar seanmonstar merged commit c4388fc into seanmonstar:master Jun 14, 2021
pfernie added a commit to pfernie/reqwest that referenced this pull request Jun 25, 2021
* master:
  add option to disable http2 upgrade (seanmonstar#1292)
  Fix documentation of http1_title_case_headers() (seanmonstar#1294)
  CI: make a single final job that depends on all others (seanmonstar#1291)
  Fix bare url warnings in `multipart` docs (seanmonstar#1289)
  v0.11.4
  Allow overriding of DNS resolution to specified IP addresses(seanmonstar#561) (seanmonstar#1277)
  WASM: Add `try_clone` implementations to `Request` and `RequestBuilder` (seanmonstar#1286)
  Add native-tls-alpn feature (seanmonstar#1283)
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