Ticket #1774 defect closed fixed
Support HTTP proxies with the twisted.web.client.Agent API
|Reported by:||ironfroggy||Owned by:||therve|
|Cc:||dreid, thijs, exarkun||Branch:||
(diff, github, buildbot, log)
I had need of connecting through an HTTP proxy, and thus need of running my own proxy for testing purposes. I found problems on both ends. These were mostly due to the use of the path in the GET command, without any expectation of it being a full URL, including the hostname. I've included a patch to fix the issue for GET commands, but there are likely problems with other HTTP commands, so probably the changes here should be factored out to fix all of them.