[Python-au] httplib vs urllib2

Wilmar Sulaiman wilmar.sulaiman at gmail.com
Tue Feb 16 02:25:15 UTC 2010


Hi all,

I am really confused between these two, they appear to be similar in
terms functionality. What is the main different between two? In which
scenario one is better than another.

At the moment, I am using httplib. Should I just use either one or it
is a good practice to use both in a code. I have not done enough
googling but it seems that httplib do not suppot http proxy. I am
looking for guidance whether to use urllib2 entirely in my code or
httplib.

Any assistance would be appreciated.

Thanks.



More information about the python-au mailing list