John,

>Personally, I think this fix should just be removed - especially
>considering that we don't even support versions of Firefox, that old,
>any more.

Perhaps we remove it, but add code there to allow custom headers to be set.
That way if someone needs some additional headers set (or needs to specify
that the "Connection: close" for some reason,) they can.

Something like this would be easy to add to the jQuery source:

        ajaxSettings: {
                global: true,
                type: "GET",
                timeout: 0,
                contentType: "application/x-www-form-urlencoded",
                processData: true,
                async: true,
                data: null,
                headers: {}
        },


        // pass in additional headers
        for( var k in s ) xml.setRequestHeader(k, s[k]);

Now you could add additional headers very easily.

-Dan

Reply via email to