]> jfr.im git - irc/quakenet/qwebirc.git/commitdiff
Try to minimise the cookie header.
authorChris Porter <redacted>
Mon, 10 Nov 2008 16:31:50 +0000 (16:31 +0000)
committerChris Porter <redacted>
Mon, 10 Nov 2008 16:31:50 +0000 (16:31 +0000)
js/irc/ircconnection.js

index 83114894f58399f23fcf74b20be217a4d60fccc2..1e5604f23175c029b581ba898a3c592b821470b6 100644 (file)
@@ -51,6 +51,12 @@ qwebirc.irc.IRCConnection = new Class({
     
     /* try to minimise the amount of headers */
     r.headers = new Hash;
+    if(Browser.Engine.trident) {
+      r.addEvent("request", function() {
+        this.setRequestHeader("Cookie", "");
+        this.setRequestHeader("Cookie", "");
+      }.bind(r.xhr));
+    }
     
     if(Browser.Engine.trident)
       r.setHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");