You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that The return value of polyfilled getAllResponseHeaders() will not same as native, it will make some thing broken.
I have created a pull request to fix this : #67
The origin http header
Parsed response header
The return value of polyfilled getAllResponseHeaders() The space lost here
@ewfian We will have look into the issue. We don't accept pull requests for this repository, we will analyse the issue and publish the fix if required. We keep updated on same.
I found that The return value of polyfilled
getAllResponseHeaders()
will not same as native, it will make some thing broken.I have created a pull request to fix this : #67
The origin http header
Parsed response header
The return value of polyfilled getAllResponseHeaders()
The space lost here
The FIRST CHAR LOST.
Some 3rd libraries like azure-sdk-for-js makes http request by using
XMLHttpRequest
and parses header by itself just like following codehttps://github.com/Azure/azure-sdk-for-js/blob/744e51acb755db2c565c71a8856d8d13e6ec345b/sdk/core/core-https/src/xhrHttpsClient.ts#L129
If the return value from the polyfilled function XMLHttpRequest.getAllResponseHeaders() is not keeps the exact same format (
Date: Thu, 01 Oct 2020 05:18:27 GMT\r\n
) as the original value, some thing will broken.The text was updated successfully, but these errors were encountered: