Skip to content

chore(protocol-http): switch to HttpRequest static clone method #1345

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

Merged
merged 2 commits into from
Jul 18, 2024

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Jul 18, 2024

As explained in #1333, the new HttpRequest().clone() method is not safe to call in general, because HttpRequest.isInstance() -> bool is not correctly implemented.

This PRs moves to the static clone method.

@kuhe kuhe requested review from a team as code owners July 18, 2024 16:48
@kuhe kuhe requested a review from JordonPhillips July 18, 2024 16:48
@kuhe kuhe merged commit 86862ea into smithy-lang:main Jul 18, 2024
9 of 10 checks passed
@kuhe kuhe deleted the chore/http branch July 18, 2024 17:17
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.

4 participants