-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Fixed Store Response headers case insensitivity #29210
Fixed Store Response headers case insensitivity #29210
Conversation
API change check API changes are not detected in this pull request. |
...ure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/StoreClient.java
Show resolved
Hide resolved
/azp run java - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run java - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run java - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run java - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run java - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
byte[] content) { | ||
|
||
requestTimeline = RequestTimeline.empty(); | ||
responseHeaders = new ConcurrentHashMap<>(headerMap); |
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.
Why not just use java.util.concurrent.ConcurrentSkipListMap here instead?
Here is an alternative which does not fallback to arrays - #29268 |
close due to PR #29268 |
StoreResponse
headers - Improved diagnostics with new models for StoreResponse, StoreResult and CosmosException #28620SortedMap
with comparator implemented for case insensitivity. This will be done in future PRs.