Open
Description
We just moved a project onto a new box, and I'm getting this error:
najax: method jqXHR getAllResponseHeaders not implemented
Looking at the source, I can see the notImplemented
fn is first assigned to jqXHR.getAllResponseHeaders
and then that is being assigned with the real getAllResponseHeaders
fn:
dfd.getAllResponseHeaders = jqXHR.getAllResponseHeaders = function getAllResponseHeaders () {
var headers = []
for (var key in res.headers) {
headers.push(key + ': ' + res.headers[key])
}
return headers.join('\n')
}
I'm not clear on what the scenario is when the notImplemented
method would be called, since it looks like it is always being overwritten inside the request callback. Can someone clarify for me?
I don't have much insight on the new box this project is deployed on, I'm guessing that its unable to make outside requests - but wanted to understand this specific error before making that assumption.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels