]> source.dussan.org Git - jquery.git/commitdiff
Fix for #1132
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Wed, 18 Apr 2007 18:35:34 +0000 (18:35 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Wed, 18 Apr 2007 18:35:34 +0000 (18:35 +0000)
src/ajax/ajax.js

index 9c9a5df3646d7f53e8d8430dc522d39144ae91c1..e65a0f77666f9c4d111b3e32b9d0b57e6930915e 100644 (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);