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
The ClientServiceCallInvoker.parseHeaders method fails if there are no response headers or if a header is empty. The method assumes headers will have the form "key: values".
The method uses xhr.getAllResponseHeaders() to get headers. In some cases a request will fail with no response headers (e.g., CORS issue), which causes getAllResponseHeaders() to return an empty string and the method to fail. Additionally, if a header was ever empty it would also cause the method to fail.
The text was updated successfully, but these errors were encountered:
The
ClientServiceCallInvoker.parseHeaders
method fails if there are no response headers or if a header is empty. The method assumes headers will have the form "key: values".The method uses
xhr.getAllResponseHeaders()
to get headers. In some cases a request will fail with no response headers (e.g., CORS issue), which causesgetAllResponseHeaders()
to return an empty string and the method to fail. Additionally, if a header was ever empty it would also cause the method to fail.The text was updated successfully, but these errors were encountered: