diff --git a/src/ajax/ajax.js b/src/ajax/ajax.js index 9c9a5df36..e65a0f776 100644 --- a/src/ajax/ajax.js +++ b/src/ajax/ajax.js @@ -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);