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

skip unsignable headers #1207

Merged
merged 11 commits into from
Dec 22, 2024

Conversation

cfbao
Copy link
Contributor

@cfbao cfbao commented Nov 30, 2024

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works

@cfbao cfbao force-pushed the unsignable-headers branch from 00f1a53 to ae7dff4 Compare November 30, 2024 21:58
@cfbao cfbao force-pushed the unsignable-headers branch from ae7dff4 to 45f3e32 Compare November 30, 2024 22:03
@cfbao cfbao marked this pull request as ready for review November 30, 2024 22:25
@FantasticFiasco FantasticFiasco self-assigned this Dec 1, 2024
@FantasticFiasco
Copy link
Owner

I'm sorry it is taking this time, but we will eventually get there. I'm looking into extending the tests running against the API Gateway.

@FantasticFiasco FantasticFiasco merged commit 2daf214 into FantasticFiasco:master Dec 22, 2024
Comment on lines +264 to +270
var headerValue = (string)testCase[0];

// Exclude the following headers due to them failing
if (headerValue is "Range" or "Transfer-Encoding")
{
continue;
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it have been var headerValue = (string)testCase[1];?
Maybe then we don't need to skip Range or Transfer-Encoding headers in tests.

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.

Requests signed with "connection" header are rejected by AWS
2 participants