- From: Jonas Sicking <jonas@sicking.cc>
- Date: Sun, 22 Jul 2007 23:37:26 -0700
- To: Web APIs WG <public-webapi@w3.org>
The XHR spec currently allows users to set the "Proxy-Connection" header using setRequestHeader method. I couldn't find a spec for it other than some discussions here: http://www.hpl.hp.com/personal/ange/archives/http-wg-archive/index.html#1214 However it seems like it basically does the same thing for a client-proxy connection as the normal "Connection" header does for a client-server connection. Mozilla seems to set the "Proxy-Connection" header rather than "Connection" when knowingly talking to a proxy. See http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/netwerk/protocol/http/src/nsHttpHandler.cpp&rev=1.129#387 (warning, licensed code, talk to your lawyer ;) ) So I think we should disallow this header since we're disallowing "Connection" as it might otherwise confuse proxies. Best Regards, Jonas
Received on Monday, 23 July 2007 06:38:32 UTC