We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
parseHeaders(rawHeaders) is called with following value for rawHeaders
{ "{\n "cache-control"": ""no-cache, no-store, max-age=0, must-revalidate"," }
i believe since this isn't an array, replace is undefined so this statement fails,
Note: xhr.getAllResponseHeaders() is not returning a array of all headers , there are about a dozen
var preProcessedHeaders = rawHeaders.replace(/\r?\n[\t ]+/g, ' ');
called by: xhr.onload = function() { var options = { status: xhr.status, statusText: xhr.statusText, headers: parseHeaders(xhr.getAllResponseHeaders() || '') };
passing
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
parseHeaders(rawHeaders) is called with following value for rawHeaders
{
"{\n "cache-control"": ""no-cache, no-store, max-age=0, must-revalidate","
}
i believe since this isn't an array, replace is undefined so this statement fails,
Note: xhr.getAllResponseHeaders() is not returning a array of all headers , there are about a dozen
var preProcessedHeaders = rawHeaders.replace(/\r?\n[\t ]+/g, ' ');
called by:
xhr.onload = function() {
var options = {
status: xhr.status,
statusText: xhr.statusText,
headers: parseHeaders(xhr.getAllResponseHeaders() || '')
};
passing
{
"{\n "cache-control"": ""no-cache, no-store, max-age=0, must-revalidate","
}
The text was updated successfully, but these errors were encountered: