Ticket #8297 (closed bug: fixed)
jQuery 1.5 getResponseHeader IE
|Reported by:||wienks_19@…||Owned by:||jaubourg|
With the new upgrade to 1.5, the XMLHttpRequest has been wrapped with a new JQuery object (jqXHR).
In IE (IE7 for sure) if a response header is returned with only a key, and no value, the new upgrade takes the next key/value pair and uses that for its value.
Example of a response header:
Key-3: Testing 2
In IE7, if the we call the request header
var value1 = jqXHR.getResponseHeader("Key-1");
var value2 = jqXHR.getResponseHeader("Key-2");
var value3 = jqXHR.getResponseHeader("Key-3");
value1's value will actually be "Key-2: Testing". value2 will be empty or null. value3's value will be "Testing 2"
This is a fairly large defect.
- Owner set to jaubourg
- Priority changed from undecided to blocker
- Status changed from new to assigned
- Component changed from unfiled to ajax
- Milestone changed from 1.next to 1.5.1