| |||||
The Python standard libraries urllib and urllib2 have little to do with each other. They were designed to be independent and standalone, each solving a different scope of problems, and urllib3 follows in a similar vein.
On the other hand this library is perfect for talking to APIs, crawling a website, any situation where being able to post files, handle redirection, and retrying is useful, etc.
Here are some key features of "urllib3":
 
 · HTTPConnectionPool - Thread-safe connection pooling and re-using
 · filepost - File posting! Supported implicitly by HTTPConnectionPool.post_url
 · Automatically handles redirection and retries!.
 
Requirements:
 
 · Python 2.6 or higher
 
What's New in This Release: [ read full changelog ]
 
 · Minor AppEngine-related fixes.
 · Switched from mimetools.choose_boundary to uuid.uuid4().
 

Via: urllib3 1.6






0 Comment:
Post a Comment