-
Notifications
You must be signed in to change notification settings - Fork 1.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
[core-http] use the original header name when returning raw headers #18321
Conversation
so the casing are preserved.
/azp run js - storage-blob - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run js - storage-file-share - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run js - storage-file-datalake - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run js - service-bus - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
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.
The LRO engine assumes the retry header has lower case so perhaps we will need to explicitly lower the case there?
Also, all tests passed so I think we do not have any tests sensitive to headers casing.
Latest Core-http's
I have not found real usage of |
@jeremymeng core-lro is core client agnostic and should work with either core-http or core-client. |
@deyaaeldeen Thanks! I see it now. Then this PR would would break it since it is calling |
The following approach may work
I opened another PR 18348 to fix |
so that the casing of header names is preserved in the result of
rawHeaders()
.Relevant issue: #8117