When should one use CONNECT and GET HTTP methods at HTTP Proxy Server?
I'm building a WebClient library. Now I'm implementing a proxy feature, so I am making some research and I saw some code using the CONNECT method to request a URL. But checking it within my web browser, it doesn't use the CONNECT method but calls the GET method instead. So I'm confused. When I should use both methods? Anirudh Ramanathan A CONNECT request urges your proxy to establish an HTTP tunnel to the remote end-point. Usually is it used for SSL connections, though it can be used with HTTP as well (used for the purposes of proxy-chaining and tunneling) CONNECT www.google.com:443 The above