Skip to content
Myr

Merge pull request #1854 from Lukasa/220

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Changelog for 2.2.0.

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 14f207f, 48e2ecc · Browse files · 2 files+15 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+15 added−2 removed

  • other:+15 added−2 removed

2 files+15 added−2 removed

modified:requests/exceptions.py+2 added-1 removed
5 unmodified lines
67This module contains the set of Requests' exceptions.89"""10from .packages.urllib3.exceptions import HTTPError as BaseHTTPError111213class RequestException(IOError):14 """There was an ambiguous exception that occurred while handling your
48 unmodified lines
63class ChunkedEncodingError(RequestException):64 """The server declared chunked encoding but sent an invalid chunk."""656666class ContentDecodingError(RequestException):67class ContentDecodingError(RequestException, BaseHTTPError):68 """Failed to decode response content"""
modified:HISTORY.rst+13 added-1 removed
1 unmodified line
23Release History4---------------562.x.y (yyyy-mm-dd)62.2.0 (2014-01-09)7++++++++++++++++++89**API Changes**10- New exception: ``ContentDecodingError``. Raised instead of ``urllib3``11 ``DecodeError`` exceptions.1213**Bugfixes**14- Avoid many many exceptions from the buggy implementation of ``proxy_bypass``15 on OS X in Python 2.6.16- Avoid crashing when attempting to get authentication credentions from17 ~/.netrc when running as a user without a home directory.18- Use the correct pool size for pools of connections to proxies.19- Fix iteration of ``CookieJar`` objects.20- Ensure that cookies are persisted over redirect.21- Switch back to using chardet since charade has merged with it22232.1.0 (2013-12-05)24++++++++++++++++++
737 unmodified lines