Simple httplib problem

Afanasiy abelikov72 at hotmail.com
Tue Jan 7 01:57:19 EST 2003


On 06 Jan 2003 17:59:34 -0800, Paul Rubin
<phr-n2002b at NOSPAMnightsong.com> wrote:

>Afanasiy <abelikov72 at hotmail.com> writes:
>> The second connection needs to have it's own HTTPConnection object.
>> I was just a confused about using this module it seems. The documenation
>> I have from ActiveState's Windows distribution seems fairly lacking in
>> most aspects. Is there something better?
>
>Why don't you use urllib, which takes care of a lot of this stuff for you?

Doesn't urllib use httplib? Doesn't urllib hide the more advanced, and
in this case necessary, features of httplib? Specifically headers...?

If not, how would my ~12 lines of code look if they used urllib?




More information about the Python-list mailing list