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

fix(fetch-http-handler): set duplex on request when body present #1279

Merged
merged 2 commits into from
May 14, 2024

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented May 14, 2024

Followup to aws/aws-sdk-js-v3#4619 as part of fetch in Node.js compatibility.

  • Set duplex: "half" on Request init when body is present. This is required in Node.js and ignored in the browser.

@kuhe kuhe requested review from a team as code owners May 14, 2024 15:26
@kuhe kuhe requested a review from syall May 14, 2024 15:26
@kuhe kuhe merged commit cc9fa00 into smithy-lang:main May 14, 2024
10 checks passed
@kuhe kuhe deleted the fix/fetch branch May 14, 2024 19:53
kuhe added a commit to kuhe/smithy-typescript that referenced this pull request May 28, 2024
…thy-lang#1279)

* fix(fetch-http-handler): set duplex on request when body present

* comment about duplex half
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

3 participants