From 3a3842c6696f121392c89b68f2f061043405ae9f Mon Sep 17 00:00:00 2001 From: jaubourg Date: Tue, 19 Apr 2011 00:29:20 -0700 Subject: (Re) Fixes #8884 in a way that keeps the format of the headers map sent to transports natural. --- src/ajax/xhr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ajax') diff --git a/src/ajax/xhr.js b/src/ajax/xhr.js index ba4c3ec7e..5dbc33d3f 100644 --- a/src/ajax/xhr.js +++ b/src/ajax/xhr.js @@ -104,7 +104,7 @@ if ( jQuery.support.ajax ) { // Need an extra try/catch for cross domain requests in Firefox 3 try { for ( i in headers ) { - xhr.setRequestHeader( headers[ i ].n, headers[ i ].v ); + xhr.setRequestHeader( i, headers[ i ] ); } } catch( _ ) {} -- cgit v1.2.3