Send to a Friend

richardhenry's avatar

Why do the majority of Python packages use urllib2 instead of httplib?

Asked by richardhenry (12692points) April 9th, 2010

httplib is much better documented and seems so much better put together than urllib2. Am I missing something? The majority of applications and Python packages seem to favor urllib2 over httplib, and I don’t understand why.

Just compare the documentation for the two:
– httplib: http://docs.python.org/library/httplib.html
– urllib2: http://docs.python.org/library/urllib2.html

Is there a reason why a lot of people seem to favor the latter?

Using Fluther

or

Using Email

Separate multiple emails with commas.
We’ll only use these emails for this message.