dealing with a proxy

Steven Adams sada7681 at
Fri Mar 3 02:03:32 CET 2000

hmm, I think I've found it,

do i first:

h = httplib.HTTP(proxyhost, proxyport)

then send requests

h.putrequest('GET', 'http://somehwere.somedomain')

is there a better method?

Steven Adams <sada7681 at> wrote in message
news:89mr33$4je$1 at
> Hi all,
> how do I format my request to get an url/socket when there is a proxy in
> middle?
> I can connect fine when there is no proxy, but I'm not sure what needs to
> done when there is, does the rquest need to be phrased differently, or do
> need to call some other function beforehand?
> any tips?
> thanks, Steven

More information about the Python-list mailing list