I’m on a network that requires me to connect through an authenticated HTTP proxy to access anything outside the network. What I need to do is basically to make a socket (or equivalent) to connect to the Internet, but sending all the data through the proxy instead of trying to send it directly. Any ideas as to how this could be done?
I’m on a network that requires me to connect through an authenticated HTTP proxy
Share
As I didn’t find any actual modules or other code that I could use, I ended up writing my own function that connects through the proxy: