using httpdlib with a proxy server

Ilja Heitlager news at
Tue Apr 11 11:17:10 CEST 2000

Lenny Self wrote in message ...
>I am attempting to write a small script that sends a list of URLs though a
>proxy server and then records a bit of information on the respose.  I
>I could use the httplib module to help with this, however, I don't see
>it can send a request though a proxy server. Does anyone know of a module
>that will allow me to do this?

You can use the httplib. You need to open the connection to the proxy server
and insert
a Host header variable with the requested site as value.

Ilja Heitlager

More information about the Python-list mailing list