It is code written by the devil to torture the good and pure of heart! It was a kludge to a firefox version that is no longer supported. It's only still there because it was taken as gospel by the early adopters of jQuery! I'm not a zealot, or calling for a reform, but I can no longer support the idea that an http connection ever needs to be forced closed.
John has previously spoken on these 2 evil lines of code, Who will be the first to strike them from memory???? They cause nothing but trouble and mislead the innocent, jQuery is not hocus pocus, yet those 2 lines are. THERE, I feel better! On 4/18/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
Dan G. Switzer, II schrieb: > Jeff, > > >> Boy I feel like a dummy, but I can't even find that line in my jQuery >> script. I am testing with jQuery 1.1.2 unpacked. Is that what we are >> talking about? I might be having a similar problem and want to test >> against that by commenting this out as well, but it helps if you can >> find it first. >> >> doh.. >> > > Try searching for the word "connection". I think it only appears a few > times. The line is where base AJAX code is. > In the (almost) latest revision at line ~ 4907: if ( xml.overrideMimeType ) xml.setRequestHeader("Connection", "close"); I'm still not sure when that is really necessary to set. Could someone summarize the conclusion from this thread? -- Jörn Zaefferer http://bassistance.de
-- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ