This commit is contained in:
Jörn Zaefferer 2007-04-18 18:35:34 +00:00
parent 2fac5e7949
commit f63242f068

View file

@ -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);