Commit f63242f0 authored by Jörn Zaefferer's avatar Jörn Zaefferer

Fix for #1132

parent 2fac5e79
...@@ -637,10 +637,6 @@ jQuery.extend({ ...@@ -637,10 +637,6 @@ jQuery.extend({
// Set header so the called script knows that it's an XMLHttpRequest // Set header so the called script knows that it's an XMLHttpRequest
xml.setRequestHeader("X-Requested-With", "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 // Allow custom headers/mimetypes
if( s.beforeSend ) if( s.beforeSend )
s.beforeSend(xml); s.beforeSend(xml);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment