urllib3

Software Screenshot:
urllib3
Software Details:
Version: 1.10.4 updated
Upload Date: 12 May 15
Developer: Andrey Petrov
Distribution Type: Freeware
Downloads: 74

Rating: nan/5 (Total Votes: 0)

The Python community has already created and shared to libraries for working with URLs and HTTP connections.

These are urllib and urllib2. While both good at what they do, they actually have nothing in common with each other, and with urllib3 actually.

urllib3, while designed on the basic principles of urllib, differs from it through the features it decided to support, not included in the original module.

What is new in this release:

  • Pools can be used as context managers.
  • Don't re-use connections which experienced an SSLError.
  • Don't fail when gzip decoding an empty stream.
  • Add sha256 support for fingerprint verification.
  • Fixed handling of header values containing commas.

What is new in version 1.10.2:

  • Pools can be used as context managers.
  • Don't re-use connections which experienced an SSLError.
  • Don't fail when gzip decoding an empty stream.
  • Add sha256 support for fingerprint verification.
  • Fixed handling of header values containing commas.

What is new in version 1.8.3:

  • Fixed proxy-related bug where connections were being reused incorrectly.
  • Added socket_options keyword parameter which allows to define setsockopt configuration of new sockets.
  • Removed HTTPConnection.tcp_nodelay in favor of HTTPConnection.default_socket_options.
  • Fixed TypeError bug in Python 2.6.4.

What is new in version 1.7.1:

  • Added granular timeout support with new urllib3.util.Timeout class.
  • Fixed Python 3.4 support.

What is new in version 1.7:

  • Passing assert_hostname=False when creating a HTTPSConnectionPool will skip hostname verification for SSL connections.
  • New method urllib3.response.HTTPResponse.stream(...) which acts as a generator wrapped around .read(...).
  • IPv6 url parsing enforces brackets around the hostname.
  • Fixed thread race condition in urllib3.poolmanager.PoolManager.connection_from_host(...)
  • ProxyManager requests now include non-default port in Host: ... header.
  • Added HTTPS proxy support in ProxyManager.
  • New RequestField object can be passed to the fields=... param which can specify headers.
  • Raise urllib3.exceptions.ProxyError when connecting to proxy fails.
  • Use international headers when posting file names.
  • Improved IPv6 support.

What is new in version 1.4:

  • Minor AppEngine-related fixes.
  • Switched from mimetools.choose_boundary to uuid.uuid4().

What is new in version 1.2.2:

  • Fixed packaging bug of not shipping test-requirements.txt.

What is new in version 1.2:

  • Added Python 3 support (tested on 3.2.2)
  • Dropped Python 2.5 support (tested on 2.6.7, 2.7.2)
  • Use select.poll instead of select.select for platforms that support it.
  • Use Queue.LifoQueue instead of Queue.Queue for more aggressive connection reusing. Configurable by overriding ConnectionPool.QueueCls.
  • Fixed ImportError during install when ssl module is not available. (Issue #41)
  • Fixed PoolManager redirects between schemes (such as HTTP -> HTTPS) not completing properly. (Issue #28, uncovered by Issue #10 in v1.1)
  • Ported dummyserver to use tornado instead of webob + eventlet. Removed extraneous unsupported dummyserver testing backends. Added socket-level tests.

What is new in version 1.1:

  • Refactored dummyserver to its own root namespace module (used for testing).
  • Added hostname verification for VerifiedHTTPSConnection by vendoring in Py32's ssl_match_hostname.
  • Fixed cross-host HTTP redirects when using PoolManager.
  • Fixed decode_content being ignored when set through urlopen.
  • Fixed timeout-related bugs.

What is new in version 1.0.2:

  • Fixed typo in VerifiedHTTPSConnection which would only present as a bug if you're using the object manually.
  • Made RecentlyUsedContainer (and consequently PoolManager) more thread-safe by wrapping the access log in a mutex.
  • Made RecentlyUsedContainer more dict-like (corrected __delitem__ and __getitem__ behaviour), with tests. Shouldn't affect core urllib3 code.

What is new in version 1.0.1:

  • Fixed a bug where the same connection would get returned into the pool twice, causing extraneous "HttpConnectionPool is full" log warnings.

What is new in version 1.0:

  • Added PoolManager with LRU expiration of connections (tested and documented).
  • Added ProxyManager (needs tests, docs, and confirmation that it works with HTTPS proxies).
  • Added optional partial-read support for responses when preload_content=False. You can now make requests and just read the headers without loading the Made response decoding optional (default on, same as before).
  • Added optional explicit boundary string for encode_multipart_formdata.
  • Convenience request methods are now inherited from RequestMethods. Old helpers like get_url and post_url should be abandoned in favour of the new request(method, url, ...).
  • Refactored code to be even more decoupled, reusable, and extendable.
  • License header added to .py files.
  • Embiggened the documentation: Lots of Sphinx-friendly docstrings in the code and docs in docs/ and on urllib3.readthedocs.org.
  • Embettered all the things!
  • Started writing this file.

Requirements:

  • Python 2.6 or higher

Similar Software

metaPdf
metaPdf

5 Jun 15

lxml
lxml

12 May 15

bitbucket-cli
bitbucket-cli

13 May 15

pycksum
pycksum

13 May 15

Other Software of Developer Andrey Petrov

urllib3
urllib3

20 Feb 15

Comments to urllib3

Comments not found
Add Comment
Turn on images!