-
Notifications
You must be signed in to change notification settings - Fork 914
Fix HeaderUnmarshaller to compare headers ignoring cases #1105
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1105 +/- ##
============================================
- Coverage 58.63% 58.62% -0.02%
- Complexity 4528 4531 +3
============================================
Files 738 738
Lines 22749 22751 +2
Branches 1699 1699
============================================
- Hits 13339 13337 -2
- Misses 8720 8722 +2
- Partials 690 692 +2
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a protocol test we can add for this?
s3.headObject(b -> b.bucket(BUCKET_NAME).key(KEY).overrideConfiguration(r -> r.putHeader("x-amz-metadata-test", | ||
"test"))); | ||
|
||
//assertThat(response.metadata()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this test is actually unnecessary and I forgot to remove it.
3e05610
to
3738c81
Compare
3738c81
to
4d4176f
Compare
Added protocol tests. |
…9576efaa1 Pull request: release <- staging/051b064e-d2bd-4420-bf1f-9509576efaa1
Description
Fix xml
HeaderUnmarshaller#MAP
to compare headers ignoring cases. Checked Json HeaderUnmarshaller and it doesn't have MAP type.Motivation and Context
Fixes #1091
Testing
Added unit tests and integ tests
Screenshots (if appropriate)
Types of changes
Checklist
mvn install
succeedsLicense