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

[Backport 2.x] Validate content type of responses (#3719) #3759

Merged

Conversation

peternied
Copy link
Member

Description

Backports c30c084 from #3719

Check List

  • New functionality includes testing
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

willyborankin
willyborankin previously approved these changes Nov 21, 2023
Copy link

codecov bot commented Nov 21, 2023

Codecov Report

Merging #3759 (714c4a5) into 2.x (b7df32d) will increase coverage by 0.05%.
Report is 1 commits behind head on 2.x.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##                2.x    #3759      +/-   ##
============================================
+ Coverage     64.87%   64.92%   +0.05%     
- Complexity     3631     3637       +6     
============================================
  Files           285      285              
  Lines         20525    20525              
  Branches       3384     3384              
============================================
+ Hits          13315    13326      +11     
+ Misses         5532     5522      -10     
+ Partials       1678     1677       -1     

see 4 files with indirect coverage changes

…#3719)

Makes sure that for response with a body they are returning the expected
content type

Signed-off-by: Peter Nied <petern@amazon.com>
@peternied peternied merged commit 987c2a2 into opensearch-project:2.x Nov 22, 2023
77 checks passed
@peternied peternied deleted the backport/backport-3719-to-2.x branch November 22, 2023 15:06
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

2 participants