mirror of
https://github.com/jquery/jquery.git
synced 2026-01-25 19:38:33 -05:00
Fix for #1132
This commit is contained in:
@@ -637,10 +637,6 @@ jQuery.extend({
|
||||
// Set header so the called script knows that it's an XMLHttpRequest
|
||||
xml.setRequestHeader("X-Requested-With", "XMLHttpRequest");
|
||||
|
||||
// Make sure the browser sends the right content length
|
||||
if ( xml.overrideMimeType )
|
||||
xml.setRequestHeader("Connection", "close");
|
||||
|
||||
// Allow custom headers/mimetypes
|
||||
if( s.beforeSend )
|
||||
s.beforeSend(xml);
|
||||
|
||||
Reference in New Issue
Block a user