When should one use CONNECT and GET HTTP methods at HTTP Proxy Server?

TL;DR a web client uses CONNECT only when it knows it talks to a proxy and the final URI begins with https://. When a browser says: CONNECT www.google.com:443 HTTP/1.1 it means: Hi proxy, please open a raw TCP connection to google; any following bytes I write, you just repeat over that connection without any interpretation. … Read more