Fix for #1132
This commit is contained in:
parent
2fac5e7949
commit
f63242f068
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue