aws / aws-sdk-js-v3

Modularized AWS SDK for JavaScript.
Apache License 2.0
2.96k stars 556 forks source link

chore(middleware-expect-continue): do not set expect header if using FetchHttpHandler #6046

Closed kuhe closed 1 month ago

kuhe commented 2 months ago

Issue

this is incidentally noticed while testing https://github.com/smithy-lang/smithy-typescript/pull/1256

Description

skip the expect header if the requestHandler is fetch, which doesn't like that header.

Testing

CI integration tests

github-actions[bot] commented 1 month ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.