Skip to content
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

Corrected fallback responseHeaders value to be null #4110

Merged

Conversation

piersoh
Copy link
Contributor

@piersoh piersoh commented Jan 10, 2023

  • The return value should match that of the function XMLHttpRequest.getAllResponseHeaders() which returns a string of valid headers, or null if no response headers have been received, or empty string on a network error.
  • The existing fallback return value ([]) would lead to an error when passed to Utils.parseHttpHeaders()

- The return value should match that of the function XMLHttpRequest.getAllResponseHeaders() which returns a string, or null if no response headers have been received, or empty string on a network error.
@dsilhavy dsilhavy added this to the 4.6.0 milestone Jan 11, 2023
@dsilhavy dsilhavy merged commit b679325 into Dash-Industry-Forum:development Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants