Proxy Server Proxy-Connection and Connection headers question.
-
Hi everyone. I'm writing some kind of transparent proxy server in C#. The code works without any problem and does what it have to do, but I am really confused about the Connection and Proxy-Connection headers in requests! As everyone knows, the Proxy-Connection is not an standard header and only signals the proxy server to keep the connection open and so, I remove this header form the request and forward the request after removal, but here is an unclear role form W3:
HTTP/1.1 proxies MUST parse the Connection header field before a message is forwarded and, for each connection-token in this field, remove any header field(s) from the message with the same name as the connection-token.
As W3 does not count the Proxy-Connection in the standard headers and suggests to use the Connection header instead, should I remove that header form the request before I forward it or not? Right now I am doing it but I want to make sure if I must or must not do it. :) No one?! :(
Sojaner!