Quantcast
Channel: How http proxy clients work - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Answer by Kate Hanahoe for How http proxy clients work

$
0
0

The client doesn't have to change the HTTP request for it to be sent to a proxy. It has to change the TCP headers.

The screenshot below shows a HTTP request sent from my browser to a proxy, as you can see nothing in the HTTP request itself specifies the proxy.

How this works is the browser/client will issue a HTTP GET request, which will then be forwarded to the TCP/IP stack and wrapped in a TCP header. The TCP header is where the destination is specified (proxy or otherwise).

enter image description here


Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>