aboutsummaryrefslogtreecommitdiff
path: root/urllib3.egg-info/PKG-INFO
diff options
context:
space:
mode:
Diffstat (limited to 'urllib3.egg-info/PKG-INFO')
-rw-r--r--urllib3.egg-info/PKG-INFO85
1 files changed, 73 insertions, 12 deletions
diff --git a/urllib3.egg-info/PKG-INFO b/urllib3.egg-info/PKG-INFO
index 8e4fc2f..168944c 100644
--- a/urllib3.egg-info/PKG-INFO
+++ b/urllib3.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: urllib3
-Version: 1.8.3
+Version: 1.9
Summary: HTTP library with thread-safe connection pooling, file post, and more.
Home-page: http://urllib3.readthedocs.org/
Author: Andrey Petrov
@@ -25,16 +25,18 @@ Description: =======
- Supports gzip and deflate decoding.
- Thread-safe and sanity-safe.
- Works with AppEngine, gevent, and eventlib.
- - Tested on Python 2.6+ and Python 3.2+, 100% unit test coverage.
+ - Tested on Python 2.6+, Python 3.2+, and PyPy, with 100% unit test coverage.
- Small and easy to understand codebase perfect for extending and building upon.
For a more comprehensive solution, have a look at
`Requests <http://python-requests.org/>`_ which is also powered by ``urllib3``.
-
+
+
You might already be using urllib3!
===================================
- ``urllib3`` powers `many great Python libraries <https://sourcegraph.com/search?q=package+urllib3>`_,
- including ``pip`` and ``requests``.
+ ``urllib3`` powers `many great Python libraries
+ <https://sourcegraph.com/search?q=package+urllib3>`_, including ``pip`` and
+ ``requests``.
What's wrong with urllib and urllib2?
@@ -50,6 +52,7 @@ Description: =======
solving a different scope of problems, and ``urllib3`` follows in a similar
vein.
+
Why do I want to reuse connections?
===================================
@@ -71,6 +74,7 @@ Description: =======
retrying is useful. It's relatively lightweight, so it can be used for
anything!
+
Examples
========
@@ -89,26 +93,39 @@ Description: =======
The ``PoolManager`` will take care of reusing connections for you whenever
you request the same host. For more fine-grained control of your connection
- pools, you should look at
- `ConnectionPool <http://urllib3.readthedocs.org/#connectionpool>`_.
+ pools, you should look at `ConnectionPool
+ <http://urllib3.readthedocs.org/#connectionpool>`_.
Run the tests
=============
We use some external dependencies, multiple interpreters and code coverage
- analysis while running test suite. Easiest way to run the tests is thusly the
- ``tox`` utility: ::
+ analysis while running test suite. Our ``Makefile`` handles much of this for
+ you as long as you're running it `inside of a virtualenv
+ <http://docs.python-guide.org/en/latest/dev/virtualenvs/>`_::
+
+ $ make test
+ [... magically installs dependencies and runs tests on your virtualenv]
+ Ran 182 tests in 1.633s
+
+ OK (SKIP=6)
- $ tox
- # [..]
+ Note that code coverage less than 100% is regarded as a failing run. Some
+ platform-specific tests are skipped unless run in that platform. To make sure
+ the code works in all of urllib3's supported platforms, you can run our ``tox``
+ suite::
+
+ $ make test-all
+ [... tox creates a virtualenv for every platform and runs tests inside of each]
py26: commands succeeded
py27: commands succeeded
py32: commands succeeded
py33: commands succeeded
py34: commands succeeded
- Note that code coverage less than 100% is regarded as a failing run.
+ Our test suite `runs continuously on Travis CI
+ <https://travis-ci.org/shazow/urllib3>`_ with every pull request.
Contributing
@@ -126,9 +143,53 @@ Description: =======
:) Make sure to add yourself to ``CONTRIBUTORS.txt``.
+ Sponsorship
+ ===========
+
+ If your company benefits from this library, please consider `sponsoring its
+ development <http://urllib3.readthedocs.org/en/latest/#sponsorship>`_.
+
+
Changes
=======
+ 1.9 (2014-07-04)
+ ++++++++++++++++
+
+ * Shuffled around development-related files. If you're maintaining a distro
+ package of urllib3, you may need to tweak things. (Issue #415)
+
+ * Unverified HTTPS requests will trigger a warning on the first request. See
+ our new `security documentation
+ <https://urllib3.readthedocs.org/en/latest/security.html>`_ for details.
+ (Issue #426)
+
+ * New retry logic and ``urllib3.util.retry.Retry`` configuration object.
+ (Issue #326)
+
+ * All raised exceptions should now wrapped in a
+ ``urllib3.exceptions.HTTPException``-extending exception. (Issue #326)
+
+ * All errors during a retry-enabled request should be wrapped in
+ ``urllib3.exceptions.MaxRetryError``, including timeout-related exceptions
+ which were previously exempt. Underlying error is accessible from the
+ ``.reason`` propery. (Issue #326)
+
+ * ``urllib3.exceptions.ConnectionError`` renamed to
+ ``urllib3.exceptions.ProtocolError``. (Issue #326)
+
+ * Errors during response read (such as IncompleteRead) are now wrapped in
+ ``urllib3.exceptions.ProtocolError``. (Issue #418)
+
+ * Requesting an empty host will raise ``urllib3.exceptions.LocationValueError``.
+ (Issue #417)
+
+ * Catch read timeouts over SSL connections as
+ ``urllib3.exceptions.ReadTimeoutError``. (Issue #419)
+
+ * Apply socket arguments before connecting. (Issue #427)
+
+
1.8.3 (2014-06-23)
++++++++++++++++++