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(middleware-sdk-api-gateway): only set default accept header if none provided #6110

Merged
merged 1 commit into from
May 20, 2024

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented May 20, 2024

Issue

fixes #6090

Description

Only set accept: application/json for APIG if no accept header was set.

Testing

unit, integ, and manual e2e testing

Additional context

v2 behavior: https://github.com/aws/aws-sdk-js/blob/master/lib/services/apigateway.js
implemented incorrectly in v3: #473

@kuhe kuhe requested a review from a team as a code owner May 20, 2024 15:23
@kuhe kuhe merged commit 851e675 into aws:main May 20, 2024
5 checks passed
@kuhe kuhe deleted the fix/apig branch May 20, 2024 16:14
Copy link

github-actions bot commented Jun 6, 2024

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exporting YAML OpenAPI spec with SDK Client GetExportCommand results in JSON spec
2 participants