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

Retrieve header value by lower-case name #68

Merged
merged 4 commits into from
Jan 30, 2024

Conversation

samadpaydar3
Copy link
Contributor

When retrieving custom header value, also try getting by lower case name.

The integration test getDocumentContentType_Returns_Valid_Error_Message_ForInvalidRepoId has recently failed because, for some reason not yet known, the X-APIServer-Error header sent by APIServer is received as x-apiserver-error.

For example, as mentioned in this post, it is possible that the header names are changed to lowercase, e.g. by nginx. So, the receiver should handle this case too.

Copy link
Contributor

github-actions bot commented Jan 26, 2024

unit-test-results

44 tests  ±0   43 ✔️ ±0   1s ⏱️ ±0s
  8 suites ±0     1 💤 ±0 
  8 files   ±0     0 ±0 

Results for commit 0b66d72. ± Comparison against base commit 0313d5a.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Jan 26, 2024

integration-test-results-cloud

14 tests  ±0   14 ✔️ ±0   6s ⏱️ -1s
  2 suites ±0     0 💤 ±0 
  2 files   ±0     0 ±0 

Results for commit 0b66d72. ± Comparison against base commit 0313d5a.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Jan 26, 2024

integration-test-results-self-hosted

6 tests  ±0   6 ✔️ ±0   5s ⏱️ -6s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ±0 

Results for commit 0b66d72. ± Comparison against base commit 0313d5a.

♻️ This comment has been updated with latest results.

@samadpaydar3 samadpaydar3 merged commit abe7d68 into 2.x Jan 30, 2024
8 checks passed
@samadpaydar3 samadpaydar3 deleted the bug/506942_header_case_sensitivity branch January 30, 2024 14:25
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.

2 participants