Skip to content
Myr

HISTORY.md

This file

Path

HISTORY.md

2,102 lines · 63.0 KiB · Markdown

Last changed by

v2.34.2Nate Prewittbefore adoption6e83187

History of this file

Take it

Show it rendered

1Release History2===============34dev5---67- \[Short description of non-trivial change.\]89102.34.2 (2026-05-14)11-------------------12- Moved `headers` input type back to `Mapping` to avoid invariance issues13  with `MutableMapping` and inferred dict types. Users calling14  `Request.headers.update()` may need to narrow typing in their code. (#7441)1516172.34.1 (2026-05-13)18-------------------1920**Bugfixes**21- Widened `json` input type from `dict` and `list` to `Mapping`22  and `Sequence`. (#7436)23- Changed `headers` input type to MutableMapping and removed `None` from24  `Request.headers` typing to improve handling for users. (#7431)25- `Response.reason` moved from `str | None` to `str` to improve handling26  for users. (#7437)27- Fixed a bug where some bodies with custom `__getattr__` implementations28  weren't being properly detected as Iterables. (#7433)2930312.34.0 (2026-05-11)32-------------------3334**Announcements**35- Requests 2.34.0 introduces inline types, replacing those provided by36  typeshed. Public API types should be fully compatible with mypy, pyright,37  and ty. We believe types are comprehensive but if you find issues, please38  report them to the pinned tracking issue.3940  Special thanks to @bastimeyer, @cthoyt, @edgarrmondragon, and @srittau for41  helping review and test the types ahead of the release. (#7272)4243**Improvements**44- Digest Auth hashing algorithms have added `usedforsecurity=False` to clarify45  security considerations. (#7310)46- Requests added support for Python 3.15 based on beta1. Downstream projects47  should be able to start testing prior to its release in October. (#7422)48- Requests added support for Python 3.14t. (#7419)4950**Bugfixes**51- ``Response.history`` no longer contains a reference to itself, preventing52  accidental looping when traversing the history list. (#7328)53- Requests no longer performs greedy matching on no_proxy domains. The54  proxy_bypass implementation has been updated with CPython's fix from55  bpo-39057. (#7427)56- Requests no longer incorrectly strips duplicate leading slashes in57  URI paths. This should address user issues with specific presigned58  URLs. Note the full fix requires urllib3 2.7.0+. (#7315)5960612.33.1 (2026-03-30)62-------------------6364**Bugfixes**65- Fixed test cleanup for CVE-2026-25645 to avoid leaving unnecessary66  files in the tmp directory. (#7305)67- Fixed Content-Type header parsing for malformed values. (#7309)68- Improved error consistency for malformed header values. (#7308)69702.33.0 (2026-03-25)71-------------------7273**Announcements**74- 📣 Requests is adding inline types. If you have a typed code base that75uses Requests, please take a look at #7271. Give it a try, and report76any gaps or feedback you may have in the issue. 📣7778**Security**79- CVE-2026-25645 ``requests.utils.extract_zipped_paths`` now extracts80  contents to a non-deterministic location to prevent malicious file81  replacement. This does not affect default usage of Requests, only82  applications calling the utility function directly.8384**Improvements**85- Migrated to a PEP 517 build system using setuptools. (#7012)8687**Bugfixes**88- Fixed an issue where an empty netrc entry could cause89  malformed authentication to be applied to Requests on90  Python 3.11+. (#7205)9192**Deprecations**93- Dropped support for Python 3.9 following its end of support. (#7196)9495**Documentation**96- Various typo fixes and doc improvements.9798992.32.5 (2025-08-18)100-------------------101102**Bugfixes**103104- The SSLContext caching feature originally introduced in 2.32.0 has created105  a new class of issues in Requests that have had negative impact across a number106  of use cases. The Requests team has decided to revert this feature as long term107  maintenance of it is proving to be unsustainable in its current iteration.108109**Deprecations**110- Added support for Python 3.14.111- Dropped support for Python 3.8 following its end of support.1121132.32.4 (2025-06-10)114-------------------115116**Security**117- CVE-2024-47081 Fixed an issue where a maliciously crafted URL and trusted118  environment will retrieve credentials for the wrong hostname/machine from a119  netrc file.120121**Improvements**122- Numerous documentation improvements123124**Deprecations**125- Added support for pypy 3.11 for Linux and macOS.126- Dropped support for pypy 3.9 following its end of support.1271281292.32.3 (2024-05-29)130-------------------131132**Bugfixes**133- Fixed bug breaking the ability to specify custom SSLContexts in sub-classes of134  HTTPAdapter. (#6716)135- Fixed issue where Requests started failing to run on Python versions compiled136  without the `ssl` module. (#6724)1371382.32.2 (2024-05-21)139-------------------140141**Deprecations**142- To provide a more stable migration for custom HTTPAdapters impacted143  by the CVE changes in 2.32.0, we've renamed `_get_connection` to144  a new public API, `get_connection_with_tls_context`. Existing custom145  HTTPAdapters will need to migrate their code to use this new API.146  `get_connection` is considered deprecated in all versions of Requests>=2.32.0.147148  A minimal (2-line) example has been provided in the linked PR to ease149  migration, but we strongly urge users to evaluate if their custom adapter150  is subject to the same issue described in CVE-2024-35195. (#6710)1511522.32.1 (2024-05-20)153-------------------154155**Bugfixes**156- Add missing test certs to the sdist distributed on PyPI.1571581592.32.0 (2024-05-20)160-------------------161162**Security**163- Fixed an issue where setting `verify=False` on the first request from a164  Session will cause subsequent requests to the _same origin_ to also ignore165  cert verification, regardless of the value of `verify`.166  (https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56)167168**Improvements**169- `verify=True` now reuses a global SSLContext which should improve170  request time variance between first and subsequent requests. It should171  also minimize certificate load time on Windows systems when using a Python172  version built with OpenSSL 3.x. (#6667)173- Requests now supports optional use of character detection174  (`chardet` or `charset_normalizer`) when repackaged or vendored.175  This enables `pip` and other projects to minimize their vendoring176  surface area. The `Response.text()` and `apparent_encoding` APIs177  will default to `utf-8` if neither library is present. (#6702)178179**Bugfixes**180- Fixed bug in length detection where emoji length was incorrectly181  calculated in the request content-length. (#6589)182- Fixed deserialization bug in JSONDecodeError. (#6629)183- Fixed bug where an extra leading `/` (path separator) could lead184  urllib3 to unnecessarily reparse the request URI. (#6644)185186**Deprecations**187188- Requests has officially added support for CPython 3.12 (#6503)189- Requests has officially added support for PyPy 3.9 and 3.10 (#6641)190- Requests has officially dropped support for CPython 3.7 (#6642)191- Requests has officially dropped support for PyPy 3.7 and 3.8 (#6641)192193**Documentation**194- Various typo fixes and doc improvements.195196**Packaging**197- Requests has started adopting some modern packaging practices.198  The source files for the projects (formerly `requests`) is now located199  in `src/requests` in the Requests sdist. (#6506)200- Starting in Requests 2.33.0, Requests will migrate to a PEP 517 build system201  using `hatchling`. This should not impact the average user, but extremely old202  versions of packaging utilities may have issues with the new packaging format.2032042052.31.0 (2023-05-22)206-------------------207208**Security**209- Versions of Requests between v2.3.0 and v2.30.0 are vulnerable to potential210  forwarding of `Proxy-Authorization` headers to destination servers when211  following HTTPS redirects.212213  When proxies are defined with user info (`https://user:pass@proxy:8080`), Requests214  will construct a `Proxy-Authorization` header that is attached to the request to215  authenticate with the proxy.216217  In cases where Requests receives a redirect response, it previously reattached218  the `Proxy-Authorization` header incorrectly, resulting in the value being219  sent through the tunneled connection to the destination server. Users who rely on220  defining their proxy credentials in the URL are *strongly* encouraged to upgrade221  to Requests 2.31.0+ to prevent unintentional leakage and rotate their proxy222  credentials once the change has been fully deployed.223224  Users who do not use a proxy or do not supply their proxy credentials through225  the user information portion of their proxy URL are not subject to this226  vulnerability.227228  Full details can be read in our [Github Security Advisory](https://github.com/psf/requests/security/advisories/GHSA-j8r2-6x86-q33q)229  and [CVE-2023-32681](https://nvd.nist.gov/vuln/detail/CVE-2023-32681).2302312322.30.0 (2023-05-03)233-------------------234235**Dependencies**236- ⚠️ Added support for urllib3 2.0. ⚠️237238  This may contain minor breaking changes so we advise careful testing and239  reviewing https://urllib3.readthedocs.io/en/latest/v2-migration-guide.html240  prior to upgrading.241242  Users who wish to stay on urllib3 1.x can pin to `urllib3<2`.2432442.29.0 (2023-04-26)245-------------------246247**Improvements**248249- Requests now defers chunked requests to the urllib3 implementation to improve250  standardization. (#6226)251- Requests relaxes header component requirements to support bytes/str subclasses. (#6356)2522532.28.2 (2023-01-12)254-------------------255256**Dependencies**257258- Requests now supports charset\_normalizer 3.x. (#6261)259260**Bugfixes**261262- Updated MissingSchema exception to suggest https scheme rather than http. (#6188)2632642.28.1 (2022-06-29)265-------------------266267**Improvements**268269- Speed optimization in `iter_content` with transition to `yield from`. (#6170)270271**Dependencies**272273- Added support for chardet 5.0.0 (#6179)274- Added support for charset-normalizer 2.1.0 (#6169)2752762.28.0 (2022-06-09)277-------------------278279**Deprecations**280281- ⚠️ Requests has officially dropped support for Python 2.7. ⚠️ (#6091)282- Requests has officially dropped support for Python 3.6 (including pypy3.6). (#6091)283284**Improvements**285286- Wrap JSON parsing issues in Request's JSONDecodeError for payloads without287  an encoding to make `json()` API consistent. (#6097)288- Parse header components consistently, raising an InvalidHeader error in289  all invalid cases. (#6154)290- Added provisional 3.11 support with current beta build. (#6155)291- Requests got a makeover and we decided to paint it black. (#6095)292293**Bugfixes**294295- Fixed bug where setting `CURL_CA_BUNDLE` to an empty string would disable296  cert verification. All Requests 2.x versions before 2.28.0 are affected. (#6074)297- Fixed urllib3 exception leak, wrapping `urllib3.exceptions.SSLError` with298  `requests.exceptions.SSLError` for `content` and `iter_content`. (#6057)299- Fixed issue where invalid Windows registry entries caused proxy resolution300  to raise an exception rather than ignoring the entry. (#6149)301- Fixed issue where entire payload could be included in the error message for302  JSONDecodeError. (#6036)3033042.27.1 (2022-01-05)305-------------------306307**Bugfixes**308309- Fixed parsing issue that resulted in the `auth` component being310  dropped from proxy URLs. (#6028)3113122.27.0 (2022-01-03)313-------------------314315**Improvements**316317- Officially added support for Python 3.10. (#5928)318319- Added a `requests.exceptions.JSONDecodeError` to unify JSON exceptions between320  Python 2 and 3. This gets raised in the `response.json()` method, and is321  backwards compatible as it inherits from previously thrown exceptions.322  Can be caught from `requests.exceptions.RequestException` as well. (#5856)323324- Improved error text for misnamed `InvalidSchema` and `MissingSchema`325  exceptions. This is a temporary fix until exceptions can be renamed326  (Schema->Scheme). (#6017)327328- Improved proxy parsing for proxy URLs missing a scheme. This will address329  recent changes to `urlparse` in Python 3.9+. (#5917)330331**Bugfixes**332333- Fixed defect in `extract_zipped_paths` which could result in an infinite loop334  for some paths. (#5851)335336- Fixed handling for `AttributeError` when calculating length of files obtained337  by `Tarfile.extractfile()`. (#5239)338339- Fixed urllib3 exception leak, wrapping `urllib3.exceptions.InvalidHeader` with340  `requests.exceptions.InvalidHeader`. (#5914)341342- Fixed bug where two Host headers were sent for chunked requests. (#5391)343344- Fixed regression in Requests 2.26.0 where `Proxy-Authorization` was345  incorrectly stripped from all requests sent with `Session.send`. (#5924)346347- Fixed performance regression in 2.26.0 for hosts with a large number of348  proxies available in the environment. (#5924)349350- Fixed idna exception leak, wrapping `UnicodeError` with351  `requests.exceptions.InvalidURL` for URLs with a leading dot (.) in the352  domain. (#5414)353354**Deprecations**355356- Requests support for Python 2.7 and 3.6 will be ending in 2022. While we357  don't have exact dates, Requests 2.27.x is likely to be the last release358  series providing support.3593602.26.0 (2021-07-13)361-------------------362363**Improvements**364365- Requests now supports Brotli compression, if either the `brotli` or366  `brotlicffi` package is installed. (#5783)367368- `Session.send` now correctly resolves proxy configurations from both369  the Session and Request. Behavior now matches `Session.request`. (#5681)370371**Bugfixes**372373- Fixed a race condition in zip extraction when using Requests in parallel374  from zip archive. (#5707)375376**Dependencies**377378- Instead of `chardet`, use the MIT-licensed `charset_normalizer` for Python3379  to remove license ambiguity for projects bundling requests. If `chardet`380  is already installed on your machine it will be used instead of `charset_normalizer`381  to keep backwards compatibility. (#5797)382383  You can also install `chardet` while installing requests by384  specifying `[use_chardet_on_py3]` extra as follows:385386    ```shell387    pip install "requests[use_chardet_on_py3]"388    ```389390  Python2 still depends upon the `chardet` module.391392- Requests now supports `idna` 3.x on Python 3. `idna` 2.x will continue to393  be used on Python 2 installations. (#5711)394395**Deprecations**396397- The `requests[security]` extra has been converted to a no-op install.398  PyOpenSSL is no longer the recommended secure option for Requests. (#5867)399400- Requests has officially dropped support for Python 3.5. (#5867)4014022.25.1 (2020-12-16)403-------------------404405**Bugfixes**406407- Requests now treats `application/json` as `utf8` by default. Resolving408  inconsistencies between `r.text` and `r.json` output. (#5673)409410**Dependencies**411412- Requests now supports chardet v4.x.4134142.25.0 (2020-11-11)415-------------------416417**Improvements**418419- Added support for NETRC environment variable. (#5643)420421**Dependencies**422423- Requests now supports urllib3 v1.26.424425**Deprecations**426427- Requests v2.25.x will be the last release series with support for Python 3.5.428- The `requests[security]` extra is officially deprecated and will be removed429  in Requests v2.26.0.4304312.24.0 (2020-06-17)432-------------------433434**Improvements**435436- pyOpenSSL TLS implementation is now only used if Python437  either doesn't have an `ssl` module or doesn't support438  SNI. Previously pyOpenSSL was unconditionally used if available.439  This applies even if pyOpenSSL is installed via the440  `requests[security]` extra (#5443)441442- Redirect resolution should now only occur when443  `allow_redirects` is True. (#5492)444445- No longer perform unnecessary Content-Length calculation for446  requests that won't use it. (#5496)4474482.23.0 (2020-02-19)449-------------------450451**Improvements**452453- Remove defunct reference to `prefetch` in Session `__attrs__` (#5110)454455**Bugfixes**456457- Requests no longer outputs password in basic auth usage warning. (#5099)458459**Dependencies**460461- Pinning for `chardet` and `idna` now uses major version instead of minor.462  This hopefully reduces the need for releases every time a dependency is updated.4634642.22.0 (2019-05-15)465-------------------466467**Dependencies**468469- Requests now supports urllib3 v1.25.2.470  (note: 1.25.0 and 1.25.1 are incompatible)471472**Deprecations**473474- Requests has officially stopped support for Python 3.4.4754762.21.0 (2018-12-10)477-------------------478479**Dependencies**480481- Requests now supports idna v2.8.4824832.20.1 (2018-11-08)484-------------------485486**Bugfixes**487488- Fixed bug with unintended Authorization header stripping for489  redirects using default ports (http/80, https/443).4904912.20.0 (2018-10-18)492-------------------493494**Bugfixes**495496-   Content-Type header parsing is now case-insensitive (e.g.497    charset=utf8 v Charset=utf8).498-   Fixed exception leak where certain redirect urls would raise499    uncaught urllib3 exceptions.500-   Requests removes Authorization header from requests redirected501    from https to http on the same hostname. (CVE-2018-18074)502-   `should_bypass_proxies` now handles URIs without hostnames (e.g.503    files).504505**Dependencies**506507- Requests now supports urllib3 v1.24.508509**Deprecations**510511- Requests has officially stopped support for Python 2.6.5125132.19.1 (2018-06-14)514-------------------515516**Bugfixes**517518-   Fixed issue where status\_codes.py's `init` function failed trying519    to append to a `__doc__` value of `None`.5205212.19.0 (2018-06-12)522-------------------523524**Improvements**525526-   Warn user about possible slowdown when using cryptography version527    &lt; 1.3.4528-   Check for invalid host in proxy URL, before forwarding request to529    adapter.530-   Fragments are now properly maintained across redirects. (RFC7231531    7.1.2)532-   Removed use of cgi module to expedite library load time.533-   Added support for SHA-256 and SHA-512 digest auth algorithms.534-   Minor performance improvement to `Request.content`.535-   Migrate to using collections.abc for 3.7 compatibility.536537**Bugfixes**538539-   Parsing empty `Link` headers with `parse_header_links()` no longer540    return one bogus entry.541-   Fixed issue where loading the default certificate bundle from a zip542    archive would raise an `IOError`.543-   Fixed issue with unexpected `ImportError` on windows system which do544    not support `winreg` module.545-   DNS resolution in proxy bypass no longer includes the username and546    password in the request. This also fixes the issue of DNS queries547    failing on macOS.548-   Properly normalize adapter prefixes for url comparison.549-   Passing `None` as a file pointer to the `files` param no longer550    raises an exception.551-   Calling `copy` on a `RequestsCookieJar` will now preserve the cookie552    policy correctly.553554**Dependencies**555556-   We now support idna v2.7.557-   We now support urllib3 v1.23.5585592.18.4 (2017-08-15)560-------------------561562**Improvements**563564-   Error messages for invalid headers now include the header name for565    easier debugging566567**Dependencies**568569-   We now support idna v2.6.5705712.18.3 (2017-08-02)572-------------------573574**Improvements**575576-   Running `$ python -m requests.help` now includes the installed577    version of idna.578579**Bugfixes**580581-   Fixed issue where Requests would raise `ConnectionError` instead of582    `SSLError` when encountering SSL problems when using urllib3 v1.22.5835842.18.2 (2017-07-25)585-------------------586587**Bugfixes**588589-   `requests.help` no longer fails on Python 2.6 due to the absence of590    `ssl.OPENSSL_VERSION_NUMBER`.591592**Dependencies**593594-   We now support urllib3 v1.22.5955962.18.1 (2017-06-14)597-------------------598599**Bugfixes**600601-   Fix an error in the packaging whereby the `*.whl` contained602    incorrect data that regressed the fix in v2.17.3.6036042.18.0 (2017-06-14)605-------------------606607**Improvements**608609-   `Response` is now a context manager, so can be used directly in a610    `with` statement without first having to be wrapped by611    `contextlib.closing()`.612613**Bugfixes**614615-   Resolve installation failure if multiprocessing is not available616-   Resolve tests crash if multiprocessing is not able to determine the617    number of CPU cores618-   Resolve error swallowing in utils set\_environ generator6196202.17.3 (2017-05-29)621-------------------622623**Improvements**624625-   Improved `packages` namespace identity support, for monkeypatching626    libraries.6276282.17.2 (2017-05-29)629-------------------630631**Improvements**632633-   Improved `packages` namespace identity support, for monkeypatching634    libraries.6356362.17.1 (2017-05-29)637-------------------638639**Improvements**640641-   Improved `packages` namespace identity support, for monkeypatching642    libraries.6436442.17.0 (2017-05-29)645-------------------646647**Improvements**648649-   Removal of the 301 redirect cache. This improves thread-safety.6506512.16.5 (2017-05-28)652-------------------653654-   Improvements to `$ python -m requests.help`.6556562.16.4 (2017-05-27)657-------------------658659-   Introduction of the `$ python -m requests.help` command, for660    debugging with maintainers!6616622.16.3 (2017-05-27)663-------------------664665-   Further restored the `requests.packages` namespace for compatibility666    reasons.6676682.16.2 (2017-05-27)669-------------------670671-   Further restored the `requests.packages` namespace for compatibility672    reasons.673674No code modification (noted below) should be necessary any longer.6756762.16.1 (2017-05-27)677-------------------678679-   Restored the `requests.packages` namespace for compatibility680    reasons.681-   Bugfix for `urllib3` version parsing.682683**Note**: code that was written to import against the684`requests.packages` namespace previously will have to import code that685rests at this module-level now.686687For example:688689    from requests.packages.urllib3.poolmanager import PoolManager690691Will need to be re-written to be:692693    from requests.packages import urllib3694    urllib3.poolmanager.PoolManager695696Or, even better:697698    from urllib3.poolmanager import PoolManager6997002.16.0 (2017-05-26)701-------------------702703-   Unvendor ALL the things!7047052.15.1 (2017-05-26)706-------------------707708-   Everyone makes mistakes.7097102.15.0 (2017-05-26)711-------------------712713**Improvements**714715-   Introduction of the `Response.next` property, for getting the next716    `PreparedResponse` from a redirect chain (when717    `allow_redirects=False`).718-   Internal refactoring of `__version__` module.719720**Bugfixes**721722-   Restored once-optional parameter for723    `requests.utils.get_environ_proxies()`.7247252.14.2 (2017-05-10)726-------------------727728**Bugfixes**729730-   Changed a less-than to an equal-to and an or in the dependency731    markers to widen compatibility with older setuptools releases.7327332.14.1 (2017-05-09)734-------------------735736**Bugfixes**737738-   Changed the dependency markers to widen compatibility with older pip739    releases.7407412.14.0 (2017-05-09)742-------------------743744**Improvements**745746-   It is now possible to pass `no_proxy` as a key to the `proxies`747    dictionary to provide handling similar to the `NO_PROXY` environment748    variable.749-   When users provide invalid paths to certificate bundle files or750    directories Requests now raises `IOError`, rather than failing at751    the time of the HTTPS request with a fairly inscrutable certificate752    validation error.753-   The behavior of `SessionRedirectMixin` was slightly altered.754    `resolve_redirects` will now detect a redirect by calling755    `get_redirect_target(response)` instead of directly querying756    `Response.is_redirect` and `Response.headers['location']`. Advanced757    users will be able to process malformed redirects more easily.758-   Changed the internal calculation of elapsed request time to have759    higher resolution on Windows.760-   Added `win_inet_pton` as conditional dependency for the `[socks]`761    extra on Windows with Python 2.7.762-   Changed the proxy bypass implementation on Windows: the proxy bypass763    check doesn't use forward and reverse DNS requests anymore764-   URLs with schemes that begin with `http` but are not `http` or765    `https` no longer have their host parts forced to lowercase.766767**Bugfixes**768769-   Much improved handling of non-ASCII `Location` header values in770    redirects. Fewer `UnicodeDecodeErrors` are encountered on Python 2,771    and Python 3 now correctly understands that Latin-1 is unlikely to772    be the correct encoding.773-   If an attempt to `seek` file to find out its length fails, we now774    appropriately handle that by aborting our content-length775    calculations.776-   Restricted `HTTPDigestAuth` to only respond to auth challenges made777    on 4XX responses, rather than to all auth challenges.778-   Fixed some code that was firing `DeprecationWarning` on Python 3.6.779-   The dismayed person emoticon (`/o\\`) no longer has a big head. I'm780    sure this is what you were all worrying about most.781782**Miscellaneous**783784-   Updated bundled urllib3 to v1.21.1.785-   Updated bundled chardet to v3.0.2.786-   Updated bundled idna to v2.5.787-   Updated bundled certifi to 2017.4.17.7887892.13.0 (2017-01-24)790-------------------791792**Features**793794-   Only load the `idna` library when we've determined we need it. This795    will save some memory for users.796797**Miscellaneous**798799-   Updated bundled urllib3 to 1.20.800-   Updated bundled idna to 2.2.8018022.12.5 (2017-01-18)803-------------------804805**Bugfixes**806807-   Fixed an issue with JSON encoding detection, specifically detecting808    big-endian UTF-32 with BOM.8098102.12.4 (2016-12-14)811-------------------812813**Bugfixes**814815-   Fixed regression from 2.12.2 where non-string types were rejected in816    the basic auth parameters. While support for this behaviour has been817    re-added, the behaviour is deprecated and will be removed in the818    future.8198202.12.3 (2016-12-01)821-------------------822823**Bugfixes**824825-   Fixed regression from v2.12.1 for URLs with schemes that begin with826    "http". These URLs have historically been processed as though they827    were HTTP-schemed URLs, and so have had parameters added. This was828    removed in v2.12.2 in an overzealous attempt to resolve problems829    with IDNA-encoding those URLs. This change was reverted: the other830    fixes for IDNA-encoding have been judged to be sufficient to return831    to the behaviour Requests had before v2.12.0.8328332.12.2 (2016-11-30)834-------------------835836**Bugfixes**837838-   Fixed several issues with IDNA-encoding URLs that are technically839    invalid but which are widely accepted. Requests will now attempt to840    IDNA-encode a URL if it can but, if it fails, and the host contains841    only ASCII characters, it will be passed through optimistically.842    This will allow users to opt-in to using IDNA2003 themselves if they843    want to, and will also allow technically invalid but still common844    hostnames.845-   Fixed an issue where URLs with leading whitespace would raise846    `InvalidSchema` errors.847-   Fixed an issue where some URLs without the HTTP or HTTPS schemes848    would still have HTTP URL preparation applied to them.849-   Fixed an issue where Unicode strings could not be used in basic850    auth.851-   Fixed an issue encountered by some Requests plugins where852    constructing a Response object would cause `Response.content` to853    raise an `AttributeError`.8548552.12.1 (2016-11-16)856-------------------857858**Bugfixes**859860-   Updated setuptools 'security' extra for the new PyOpenSSL backend in861    urllib3.862863**Miscellaneous**864865-   Updated bundled urllib3 to 1.19.1.8668672.12.0 (2016-11-15)868-------------------869870**Improvements**871872-   Updated support for internationalized domain names from IDNA2003 to873    IDNA2008. This updated support is required for several forms of IDNs874    and is mandatory for .de domains.875-   Much improved heuristics for guessing content lengths: Requests will876    no longer read an entire `StringIO` into memory.877-   Much improved logic for recalculating `Content-Length` headers for878    `PreparedRequest` objects.879-   Improved tolerance for file-like objects that have no `tell` method880    but do have a `seek` method.881-   Anything that is a subclass of `Mapping` is now treated like a882    dictionary by the `data=` keyword argument.883-   Requests now tolerates empty passwords in proxy credentials, rather884    than stripping the credentials.885-   If a request is made with a file-like object as the body and that886    request is redirected with a 307 or 308 status code, Requests will887    now attempt to rewind the body object so it can be replayed.888889**Bugfixes**890891-   When calling `response.close`, the call to `close` will be892    propagated through to non-urllib3 backends.893-   Fixed issue where the `ALL_PROXY` environment variable would be894    preferred over scheme-specific variables like `HTTP_PROXY`.895-   Fixed issue where non-UTF8 reason phrases got severely mangled by896    falling back to decoding using ISO 8859-1 instead.897-   Fixed a bug where Requests would not correctly correlate cookies set898    when using custom Host headers if those Host headers did not use the899    native string type for the platform.900901**Miscellaneous**902903-   Updated bundled urllib3 to 1.19.904-   Updated bundled certifi certs to 2016.09.26.9059062.11.1 (2016-08-17)907-------------------908909**Bugfixes**910911-   Fixed a bug when using `iter_content` with `decode_unicode=True` for912    streamed bodies would raise `AttributeError`. This bug was913    introduced in 2.11.914-   Strip Content-Type and Transfer-Encoding headers from the header915    block when following a redirect that transforms the verb from916    POST/PUT to GET.9179182.11.0 (2016-08-08)919-------------------920921**Improvements**922923-   Added support for the `ALL_PROXY` environment variable.924-   Reject header values that contain leading whitespace or newline925    characters to reduce risk of header smuggling.926927**Bugfixes**928929-   Fixed occasional `TypeError` when attempting to decode a JSON930    response that occurred in an error case. Now correctly returns a931    `ValueError`.932-   Requests would incorrectly ignore a non-CIDR IP address in the933    `NO_PROXY` environment variables: Requests now treats it as a934    specific IP.935-   Fixed a bug when sending JSON data that could cause us to encounter936    obscure OpenSSL errors in certain network conditions (yes, really).937-   Added type checks to ensure that `iter_content` only accepts938    integers and `None` for chunk sizes.939-   Fixed issue where responses whose body had not been fully consumed940    would have the underlying connection closed but not returned to the941    connection pool, which could cause Requests to hang in situations942    where the `HTTPAdapter` had been configured to use a blocking943    connection pool.944945**Miscellaneous**946947-   Updated bundled urllib3 to 1.16.948-   Some previous releases accidentally accepted non-strings as949    acceptable header values. This release does not.9509512.10.0 (2016-04-29)952-------------------953954**New Features**955956-   SOCKS Proxy Support! (requires PySocks;957    `$ pip install requests[socks]`)958959**Miscellaneous**960961-   Updated bundled urllib3 to 1.15.1.9629632.9.2 (2016-04-29)964------------------965966**Improvements**967968-   Change built-in CaseInsensitiveDict (used for headers) to use969    OrderedDict as its underlying datastore.970971**Bugfixes**972973-   Don't use redirect\_cache if allow\_redirects=False974-   When passed objects that throw exceptions from `tell()`, send them975    via chunked transfer encoding instead of failing.976-   Raise a ProxyError for proxy related connection issues.9779782.9.1 (2015-12-21)979------------------980981**Bugfixes**982983-   Resolve regression introduced in 2.9.0 that made it impossible to984    send binary strings as bodies in Python 3.985-   Fixed errors when calculating cookie expiration dates in certain986    locales.987988**Miscellaneous**989990-   Updated bundled urllib3 to 1.13.1.9919922.9.0 (2015-12-15)993------------------994995**Minor Improvements** (Backwards compatible)996997-   The `verify` keyword argument now supports being passed a path to a998    directory of CA certificates, not just a single-file bundle.999-   Warnings are now emitted when sending files opened in text mode.1000-   Added the 511 Network Authentication Required status code to the1001    status code registry.10021003**Bugfixes**10041005-   For file-like objects that are not sought to the very beginning, we1006    now send the content length for the number of bytes we will actually1007    read, rather than the total size of the file, allowing partial file1008    uploads.1009-   When uploading file-like objects, if they are empty or have no1010    obvious content length we set `Transfer-Encoding: chunked` rather1011    than `Content-Length: 0`.1012-   We correctly receive the response in buffered mode when uploading1013    chunked bodies.1014-   We now handle being passed a query string as a bytestring on Python1015    3, by decoding it as UTF-8.1016-   Sessions are now closed in all cases (exceptional and not) when1017    using the functional API rather than leaking and waiting for the1018    garbage collector to clean them up.1019-   Correctly handle digest auth headers with a malformed `qop`1020    directive that contains no token, by treating it the same as if no1021    `qop` directive was provided at all.1022-   Minor performance improvements when removing specific cookies by1023    name.10241025**Miscellaneous**10261027-   Updated urllib3 to 1.13.102810292.8.1 (2015-10-13)1030------------------10311032**Bugfixes**10331034-   Update certificate bundle to match `certifi` 2015.9.6.2's weak1035    certificate bundle.1036-   Fix a bug in 2.8.0 where requests would raise `ConnectTimeout`1037    instead of `ConnectionError`1038-   When using the PreparedRequest flow, requests will now correctly1039    respect the `json` parameter. Broken in 2.8.0.1040-   When using the PreparedRequest flow, requests will now correctly1041    handle a Unicode-string method name on Python 2. Broken in 2.8.0.104210432.8.0 (2015-10-05)1044------------------10451046**Minor Improvements** (Backwards Compatible)10471048-   Requests now supports per-host proxies. This allows the `proxies`1049    dictionary to have entries of the form1050    `{'<scheme>://<hostname>': '<proxy>'}`. Host-specific proxies will1051    be used in preference to the previously-supported scheme-specific1052    ones, but the previous syntax will continue to work.1053-   `Response.raise_for_status` now prints the URL that failed as part1054    of the exception message.1055-   `requests.utils.get_netrc_auth` now takes an `raise_errors` kwarg,1056    defaulting to `False`. When `True`, errors parsing `.netrc` files1057    cause exceptions to be thrown.1058-   Change to bundled projects import logic to make it easier to1059    unbundle requests downstream.1060-   Changed the default User-Agent string to avoid leaking data on1061    Linux: now contains only the requests version.10621063**Bugfixes**10641065-   The `json` parameter to `post()` and friends will now only be used1066    if neither `data` nor `files` are present, consistent with the1067    documentation.1068-   We now ignore empty fields in the `NO_PROXY` environment variable.1069-   Fixed problem where `httplib.BadStatusLine` would get raised if1070    combining `stream=True` with `contextlib.closing`.1071-   Prevented bugs where we would attempt to return the same connection1072    back to the connection pool twice when sending a Chunked body.1073-   Miscellaneous minor internal changes.1074-   Digest Auth support is now thread safe.10751076**Updates**10771078-   Updated urllib3 to 1.12.107910802.7.0 (2015-05-03)1081------------------10821083This is the first release that follows our new release process. For1084more, see [our1085documentation](https://requests.readthedocs.io/en/latest/community/release-process/).10861087**Bugfixes**10881089-   Updated urllib3 to 1.10.4, resolving several bugs involving chunked1090    transfer encoding and response framing.109110922.6.2 (2015-04-23)1093------------------10941095**Bugfixes**10961097-   Fix regression where compressed data that was sent as chunked data1098    was not properly decompressed. (\#2561)109911002.6.1 (2015-04-22)1101------------------11021103**Bugfixes**11041105-   Remove VendorAlias import machinery introduced in v2.5.2.1106-   Simplify the PreparedRequest.prepare API: We no longer require the1107    user to pass an empty list to the hooks keyword argument. (c.f.1108    \#2552)1109-   Resolve redirects now receives and forwards all of the original1110    arguments to the adapter. (\#2503)1111-   Handle UnicodeDecodeErrors when trying to deal with a unicode URL1112    that cannot be encoded in ASCII. (\#2540)1113-   Populate the parsed path of the URI field when performing Digest1114    Authentication. (\#2426)1115-   Copy a PreparedRequest's CookieJar more reliably when it is not an1116    instance of RequestsCookieJar. (\#2527)111711182.6.0 (2015-03-14)1119------------------11201121**Bugfixes**11221123-   CVE-2015-2296: Fix handling of cookies on redirect. Previously a1124    cookie without a host value set would use the hostname for the1125    redirected URL exposing requests users to session fixation attacks1126    and potentially cookie stealing. This was disclosed privately by1127    Matthew Daley of [BugFuzz](https://bugfuzz.com). This affects all1128    versions of requests from v2.1.0 to v2.5.3 (inclusive on both ends).1129-   Fix error when requests is an `install_requires` dependency and1130    `python setup.py test` is run. (\#2462)1131-   Fix error when urllib3 is unbundled and requests continues to use1132    the vendored import location.1133-   Include fixes to `urllib3`'s header handling.1134-   Requests' handling of unvendored dependencies is now more1135    restrictive.11361137**Features and Improvements**11381139-   Support bytearrays when passed as parameters in the `files`1140    argument. (\#2468)1141-   Avoid data duplication when creating a request with `str`, `bytes`,1142    or `bytearray` input to the `files` argument.114311442.5.3 (2015-02-24)1145------------------11461147**Bugfixes**11481149-   Revert changes to our vendored certificate bundle. For more context1150    see (\#2455, \#2456, and <https://bugs.python.org/issue23476>)115111522.5.2 (2015-02-23)1153------------------11541155**Features and Improvements**11561157-   Add sha256 fingerprint support.1158    ([shazow/urllib3\#540](https://github.com/shazow/urllib3/pull/540))1159-   Improve the performance of headers.1160    ([shazow/urllib3\#544](https://github.com/shazow/urllib3/pull/544))11611162**Bugfixes**11631164-   Copy pip's import machinery. When downstream redistributors remove1165    requests.packages.urllib3 the import machinery will continue to let1166    those same symbols work. Example usage in requests' documentation1167    and 3rd-party libraries relying on the vendored copies of urllib31168    will work without having to fallback to the system urllib3.1169-   Attempt to quote parts of the URL on redirect if unquoting and then1170    quoting fails. (\#2356)1171-   Fix filename type check for multipart form-data uploads. (\#2411)1172-   Properly handle the case where a server issuing digest1173    authentication challenges provides both auth and auth-int1174    qop-values. (\#2408)1175-   Fix a socket leak.1176    ([shazow/urllib3\#549](https://github.com/shazow/urllib3/pull/549))1177-   Fix multiple `Set-Cookie` headers properly.1178    ([shazow/urllib3\#534](https://github.com/shazow/urllib3/pull/534))1179-   Disable the built-in hostname verification.1180    ([shazow/urllib3\#526](https://github.com/shazow/urllib3/pull/526))1181-   Fix the behaviour of decoding an exhausted stream.1182    ([shazow/urllib3\#535](https://github.com/shazow/urllib3/pull/535))11831184**Security**11851186-   Pulled in an updated `cacert.pem`.1187-   Drop RC4 from the default cipher list.1188    ([shazow/urllib3\#551](https://github.com/shazow/urllib3/pull/551))118911902.5.1 (2014-12-23)1191------------------11921193**Behavioural Changes**11941195-   Only catch HTTPErrors in raise\_for\_status (\#2382)11961197**Bugfixes**11981199-   Handle LocationParseError from urllib3 (\#2344)1200-   Handle file-like object filenames that are not strings (\#2379)1201-   Unbreak HTTPDigestAuth handler. Allow new nonces to be negotiated1202    (\#2389)120312042.5.0 (2014-12-01)1205------------------12061207**Improvements**12081209-   Allow usage of urllib3's Retry object with HTTPAdapters (\#2216)1210-   The `iter_lines` method on a response now accepts a delimiter with1211    which to split the content (\#2295)12121213**Behavioural Changes**12141215-   Add deprecation warnings to functions in requests.utils that will be1216    removed in 3.0 (\#2309)1217-   Sessions used by the functional API are always closed (\#2326)1218-   Restrict requests to HTTP/1.1 and HTTP/1.0 (stop accepting HTTP/0.9)1219    (\#2323)12201221**Bugfixes**12221223-   Only parse the URL once (\#2353)1224-   Allow Content-Length header to always be overridden (\#2332)1225-   Properly handle files in HTTPDigestAuth (\#2333)1226-   Cap redirect\_cache size to prevent memory abuse (\#2299)1227-   Fix HTTPDigestAuth handling of redirects after authenticating1228    successfully (\#2253)1229-   Fix crash with custom method parameter to Session.request (\#2317)1230-   Fix how Link headers are parsed using the regular expression library1231    (\#2271)12321233**Documentation**12341235-   Add more references for interlinking (\#2348)1236-   Update CSS for theme (\#2290)1237-   Update width of buttons and sidebar (\#2289)1238-   Replace references of Gittip with Gratipay (\#2282)1239-   Add link to changelog in sidebar (\#2273)124012412.4.3 (2014-10-06)1242------------------12431244**Bugfixes**12451246-   Unicode URL improvements for Python 2.1247-   Re-order JSON param for backwards compat.1248-   Automatically defrag authentication schemes from host/pass URIs.1249    ([\#2249](https://github.com/psf/requests/issues/2249))125012512.4.2 (2014-10-05)1252------------------12531254**Improvements**12551256-   FINALLY! Add json parameter for uploads!1257    ([\#2258](https://github.com/psf/requests/pull/2258))1258-   Support for bytestring URLs on Python 3.x1259    ([\#2238](https://github.com/psf/requests/pull/2238))12601261**Bugfixes**12621263-   Avoid getting stuck in a loop1264    ([\#2244](https://github.com/psf/requests/pull/2244))1265-   Multiple calls to iter\* fail with unhelpful error.1266    ([\#2240](https://github.com/psf/requests/issues/2240),1267    [\#2241](https://github.com/psf/requests/issues/2241))12681269**Documentation**12701271-   Correct redirection introduction1272    ([\#2245](https://github.com/psf/requests/pull/2245/))1273-   Added example of how to send multiple files in one request.1274    ([\#2227](https://github.com/psf/requests/pull/2227/))1275-   Clarify how to pass a custom set of CAs1276    ([\#2248](https://github.com/psf/requests/pull/2248/))127712782.4.1 (2014-09-09)1279------------------12801281-   Now has a "security" package extras set,1282    `$ pip install requests[security]`1283-   Requests will now use Certifi if it is available.1284-   Capture and re-raise urllib3 ProtocolError1285-   Bugfix for responses that attempt to redirect to themselves forever1286    (wtf?).128712882.4.0 (2014-08-29)1289------------------12901291**Behavioral Changes**12921293-   `Connection: keep-alive` header is now sent automatically.12941295**Improvements**12961297-   Support for connect timeouts! Timeout now accepts a tuple (connect,1298    read) which is used to set individual connect and read timeouts.1299-   Allow copying of PreparedRequests without headers/cookies.1300-   Updated bundled urllib3 version.1301-   Refactored settings loading from environment -- new1302    Session.merge\_environment\_settings.1303-   Handle socket errors in iter\_content.130413052.3.0 (2014-05-16)1306------------------13071308**API Changes**13091310-   New `Response` property `is_redirect`, which is true when the1311    library could have processed this response as a redirection (whether1312    or not it actually did).1313-   The `timeout` parameter now affects requests with both `stream=True`1314    and `stream=False` equally.1315-   The change in v2.0.0 to mandate explicit proxy schemes has been1316    reverted. Proxy schemes now default to `http://`.1317-   The `CaseInsensitiveDict` used for HTTP headers now behaves like a1318    normal dictionary when references as string or viewed in the1319    interpreter.13201321**Bugfixes**13221323-   No longer expose Authorization or Proxy-Authorization headers on1324    redirect. Fix CVE-2014-1829 and CVE-2014-1830 respectively.1325-   Authorization is re-evaluated each redirect.1326-   On redirect, pass url as native strings.1327-   Fall-back to autodetected encoding for JSON when Unicode detection1328    fails.1329-   Headers set to `None` on the `Session` are now correctly not sent.1330-   Correctly honor `decode_unicode` even if it wasn't used earlier in1331    the same response.1332-   Stop advertising `compress` as a supported Content-Encoding.1333-   The `Response.history` parameter is now always a list.1334-   Many, many `urllib3` bugfixes.133513362.2.1 (2014-01-23)1337------------------13381339**Bugfixes**13401341-   Fixes incorrect parsing of proxy credentials that contain a literal1342    or encoded '\#' character.1343-   Assorted urllib3 fixes.134413452.2.0 (2014-01-09)1346------------------13471348**API Changes**13491350-   New exception: `ContentDecodingError`. Raised instead of `urllib3`1351    `DecodeError` exceptions.13521353**Bugfixes**13541355-   Avoid many many exceptions from the buggy implementation of1356    `proxy_bypass` on OS X in Python 2.6.1357-   Avoid crashing when attempting to get authentication credentials1358    from \~/.netrc when running as a user without a home directory.1359-   Use the correct pool size for pools of connections to proxies.1360-   Fix iteration of `CookieJar` objects.1361-   Ensure that cookies are persisted over redirect.1362-   Switch back to using chardet, since it has merged with charade.136313642.1.0 (2013-12-05)1365------------------13661367-   Updated CA Bundle, of course.1368-   Cookies set on individual Requests through a `Session` (e.g. via1369    `Session.get()`) are no longer persisted to the `Session`.1370-   Clean up connections when we hit problems during chunked upload,1371    rather than leaking them.1372-   Return connections to the pool when a chunked upload is successful,1373    rather than leaking it.1374-   Match the HTTPbis recommendation for HTTP 301 redirects.1375-   Prevent hanging when using streaming uploads and Digest Auth when a1376    401 is received.1377-   Values of headers set by Requests are now always the native string1378    type.1379-   Fix previously broken SNI support.1380-   Fix accessing HTTP proxies using proxy authentication.1381-   Unencode HTTP Basic usernames and passwords extracted from URLs.1382-   Support for IP address ranges for no\_proxy environment variable1383-   Parse headers correctly when users override the default `Host:`1384    header.1385-   Avoid munging the URL in case of case-sensitive servers.1386-   Looser URL handling for non-HTTP/HTTPS urls.1387-   Accept unicode methods in Python 2.6 and 2.7.1388-   More resilient cookie handling.1389-   Make `Response` objects pickleable.1390-   Actually added MD5-sess to Digest Auth instead of pretending to like1391    last time.1392-   Updated internal urllib3.1393-   Fixed @Lukasa's lack of taste.139413952.0.1 (2013-10-24)1396------------------13971398-   Updated included CA Bundle with new mistrusts and automated process1399    for the future1400-   Added MD5-sess to Digest Auth1401-   Accept per-file headers in multipart file POST messages.1402-   Fixed: Don't send the full URL on CONNECT messages.1403-   Fixed: Correctly lowercase a redirect scheme.1404-   Fixed: Cookies not persisted when set via functional API.1405-   Fixed: Translate urllib3 ProxyError into a requests ProxyError1406    derived from ConnectionError.1407-   Updated internal urllib3 and chardet.140814092.0.0 (2013-09-24)1410------------------14111412**API Changes:**14131414-   Keys in the Headers dictionary are now native strings on all Python1415    versions, i.e. bytestrings on Python 2, unicode on Python 3.1416-   Proxy URLs now *must* have an explicit scheme. A `MissingSchema`1417    exception will be raised if they don't.1418-   Timeouts now apply to read time if `Stream=False`.1419-   `RequestException` is now a subclass of `IOError`, not1420    `RuntimeError`.1421-   Added new method to `PreparedRequest` objects:1422    `PreparedRequest.copy()`.1423-   Added new method to `Session` objects: `Session.update_request()`.1424    This method updates a `Request` object with the data (e.g. cookies)1425    stored on the `Session`.1426-   Added new method to `Session` objects: `Session.prepare_request()`.1427    This method updates and prepares a `Request` object, and returns the1428    corresponding `PreparedRequest` object.1429-   Added new method to `HTTPAdapter` objects:1430    `HTTPAdapter.proxy_headers()`. This should not be called directly,1431    but improves the subclass interface.1432-   `httplib.IncompleteRead` exceptions caused by incorrect chunked1433    encoding will now raise a Requests `ChunkedEncodingError` instead.1434-   Invalid percent-escape sequences now cause a Requests `InvalidURL`1435    exception to be raised.1436-   HTTP 208 no longer uses reason phrase `"im_used"`. Correctly uses1437    `"already_reported"`.1438-   HTTP 226 reason added (`"im_used"`).14391440**Bugfixes:**14411442-   Vastly improved proxy support, including the CONNECT verb. Special1443    thanks to the many contributors who worked towards this improvement.1444-   Cookies are now properly managed when 401 authentication responses1445    are received.1446-   Chunked encoding fixes.1447-   Support for mixed case schemes.1448-   Better handling of streaming downloads.1449-   Retrieve environment proxies from more locations.1450-   Minor cookies fixes.1451-   Improved redirect behaviour.1452-   Improved streaming behaviour, particularly for compressed data.1453-   Miscellaneous small Python 3 text encoding bugs.1454-   `.netrc` no longer overrides explicit auth.1455-   Cookies set by hooks are now correctly persisted on Sessions.1456-   Fix problem with cookies that specify port numbers in their host1457    field.1458-   `BytesIO` can be used to perform streaming uploads.1459-   More generous parsing of the `no_proxy` environment variable.1460-   Non-string objects can be passed in data values alongside files.146114621.2.3 (2013-05-25)1463------------------14641465-   Simple packaging fix146614671.2.2 (2013-05-23)1468------------------14691470-   Simple packaging fix147114721.2.1 (2013-05-20)1473------------------14741475-   301 and 302 redirects now change the verb to GET for all verbs, not1476    just POST, improving browser compatibility.1477-   Python 3.3.2 compatibility1478-   Always percent-encode location headers1479-   Fix connection adapter matching to be most-specific first1480-   new argument to the default connection adapter for passing a block1481    argument1482-   prevent a KeyError when there's no link headers148314841.2.0 (2013-03-31)1485------------------14861487-   Fixed cookies on sessions and on requests1488-   Significantly change how hooks are dispatched - hooks now receive1489    all the arguments specified by the user when making a request so1490    hooks can make a secondary request with the same parameters. This is1491    especially necessary for authentication handler authors1492-   certifi support was removed1493-   Fixed bug where using OAuth 1 with body `signature_type` sent no1494    data1495-   Major proxy work thanks to @Lukasa including parsing of proxy1496    authentication from the proxy url1497-   Fix DigestAuth handling too many 401s1498-   Update vendored urllib3 to include SSL bug fixes1499-   Allow keyword arguments to be passed to `json.loads()` via the1500    `Response.json()` method1501-   Don't send `Content-Length` header by default on `GET` or `HEAD`1502    requests1503-   Add `elapsed` attribute to `Response` objects to time how long a1504    request took.1505-   Fix `RequestsCookieJar`1506-   Sessions and Adapters are now picklable, i.e., can be used with the1507    multiprocessing library1508-   Update charade to version 1.0.315091510The change in how hooks are dispatched will likely cause a great deal of1511issues.151215131.1.0 (2013-01-10)1514------------------15151516-   CHUNKED REQUESTS1517-   Support for iterable response bodies1518-   Assume servers persist redirect params1519-   Allow explicit content types to be specified for file data1520-   Make merge\_kwargs case-insensitive when looking up keys152115221.0.3 (2012-12-18)1523------------------15241525-   Fix file upload encoding bug1526-   Fix cookie behavior152715281.0.2 (2012-12-17)1529------------------15301531-   Proxy fix for HTTPAdapter.153215331.0.1 (2012-12-17)1534------------------15351536-   Cert verification exception bug.1537-   Proxy fix for HTTPAdapter.153815391.0.0 (2012-12-17)1540------------------15411542-   Massive Refactor and Simplification1543-   Switch to Apache 2.0 license1544-   Swappable Connection Adapters1545-   Mountable Connection Adapters1546-   Mutable ProcessedRequest chain1547-   /s/prefetch/stream1548-   Removal of all configuration1549-   Standard library logging1550-   Make Response.json() callable, not property.1551-   Usage of new charade project, which provides python 2 and 31552    simultaneous chardet.1553-   Removal of all hooks except 'response'1554-   Removal of all authentication helpers (OAuth, Kerberos)15551556This is not a backwards compatible change.155715580.14.2 (2012-10-27)1559-------------------15601561-   Improved mime-compatible JSON handling1562-   Proxy fixes1563-   Path hack fixes1564-   Case-Insensitive Content-Encoding headers1565-   Support for CJK parameters in form posts156615670.14.1 (2012-10-01)1568-------------------15691570-   Python 3.3 Compatibility1571-   Simply default accept-encoding1572-   Bugfixes157315740.14.0 (2012-09-02)1575-------------------15761577-   No more iter\_content errors if already downloaded.157815790.13.9 (2012-08-25)1580-------------------15811582-   Fix for OAuth + POSTs1583-   Remove exception eating from dispatch\_hook1584-   General bugfixes158515860.13.8 (2012-08-21)1587-------------------15881589-   Incredible Link header support :)159015910.13.7 (2012-08-19)1592-------------------15931594-   Support for (key, value) lists everywhere.1595-   Digest Authentication improvements.1596-   Ensure proxy exclusions work properly.1597-   Clearer UnicodeError exceptions.1598-   Automatic casting of URLs to strings (fURL and such)1599-   Bugfixes.160016010.13.6 (2012-08-06)1602-------------------16031604-   Long awaited fix for hanging connections!160516060.13.5 (2012-07-27)1607-------------------16081609-   Packaging fix161016110.13.4 (2012-07-27)1612-------------------16131614-   GSSAPI/Kerberos authentication!1615-   App Engine 2.7 Fixes!1616-   Fix leaking connections (from urllib3 update)1617-   OAuthlib path hack fix1618-   OAuthlib URL parameters fix.161916200.13.3 (2012-07-12)1621-------------------16221623-   Use simplejson if available.1624-   Do not hide SSLErrors behind Timeouts.1625-   Fixed param handling with urls containing fragments.1626-   Significantly improved information in User Agent.1627-   client certificates are ignored when verify=False162816290.13.2 (2012-06-28)1630-------------------16311632-   Zero dependencies (once again)!1633-   New: Response.reason1634-   Sign querystring parameters in OAuth 1.01635-   Client certificates no longer ignored when verify=False1636-   Add openSUSE certificate support163716380.13.1 (2012-06-07)1639-------------------16401641-   Allow passing a file or file-like object as data.1642-   Allow hooks to return responses that indicate errors.1643-   Fix Response.text and Response.json for body-less responses.164416450.13.0 (2012-05-29)1646-------------------16471648-   Removal of Requests.async in favor of1649    [grequests](https://github.com/kennethreitz/grequests)1650-   Allow disabling of cookie persistence.1651-   New implementation of safe\_mode1652-   cookies.get now supports default argument1653-   Session cookies not saved when Session.request is called with1654    return\_response=False1655-   Env: no\_proxy support.1656-   RequestsCookieJar improvements.1657-   Various bug fixes.165816590.12.1 (2012-05-08)1660-------------------16611662-   New `Response.json` property.1663-   Ability to add string file uploads.1664-   Fix out-of-range issue with iter\_lines.1665-   Fix iter\_content default size.1666-   Fix POST redirects containing files.166716680.12.0 (2012-05-02)1669-------------------16701671-   EXPERIMENTAL OAUTH SUPPORT!1672-   Proper CookieJar-backed cookies interface with awesome dict-like1673    interface.1674-   Speed fix for non-iterated content chunks.1675-   Move `pre_request` to a more usable place.1676-   New `pre_send` hook.1677-   Lazily encode data, params, files.1678-   Load system Certificate Bundle if `certify` isn't available.1679-   Cleanups, fixes.168016810.11.2 (2012-04-22)1682-------------------16831684-   Attempt to use the OS's certificate bundle if `certifi` isn't1685    available.1686-   Infinite digest auth redirect fix.1687-   Multi-part file upload improvements.1688-   Fix decoding of invalid %encodings in URLs.1689-   If there is no content in a response don't throw an error the second1690    time that content is attempted to be read.1691-   Upload data on redirects.169216930.11.1 (2012-03-30)1694-------------------16951696-   POST redirects now break RFC to do what browsers do: Follow up with1697    a GET.1698-   New `strict_mode` configuration to disable new redirect behavior.169917000.11.0 (2012-03-14)1701-------------------17021703-   Private SSL Certificate support1704-   Remove select.poll from Gevent monkeypatching1705-   Remove redundant generator for chunked transfer encoding1706-   Fix: Response.ok raises Timeout Exception in safe\_mode170717080.10.8 (2012-03-09)1709-------------------17101711-   Generate chunked ValueError fix1712-   Proxy configuration by environment variables1713-   Simplification of iter\_lines.1714-   New trust\_env configuration for disabling system/environment hints.1715-   Suppress cookie errors.171617170.10.7 (2012-03-07)1718-------------------17191720-   encode\_uri = False172117220.10.6 (2012-02-25)1723-------------------17241725-   Allow '=' in cookies.172617270.10.5 (2012-02-25)1728-------------------17291730-   Response body with 0 content-length fix.1731-   New async.imap.1732-   Don't fail on netrc.173317340.10.4 (2012-02-20)1735-------------------17361737-   Honor netrc.173817390.10.3 (2012-02-20)1740-------------------17411742-   HEAD requests don't follow redirects anymore.1743-   raise\_for\_status() doesn't raise for 3xx anymore.1744-   Make Session objects picklable.1745-   ValueError for invalid schema URLs.174617470.10.2 (2012-01-15)1748-------------------17491750-   Vastly improved URL quoting.1751-   Additional allowed cookie key values.1752-   Attempted fix for "Too many open files" Error1753-   Replace unicode errors on first pass, no need for second pass.1754-   Append '/' to bare-domain urls before query insertion.1755-   Exceptions now inherit from RuntimeError.1756-   Binary uploads + auth fix.1757-   Bugfixes.175817590.10.1 (2012-01-23)1760-------------------17611762-   PYTHON 3 SUPPORT!1763-   Dropped 2.5 Support. (*Backwards Incompatible*)176417650.10.0 (2012-01-21)1766-------------------17671768-   `Response.content` is now bytes-only. (*Backwards Incompatible*)1769-   New `Response.text` is unicode-only.1770-   If no `Response.encoding` is specified and `chardet` is available,1771    `Response.text` will guess an encoding.1772-   Default to ISO-8859-1 (Western) encoding for "text" subtypes.1773-   Removal of decode\_unicode. (*Backwards Incompatible*)1774-   New multiple-hooks system.1775-   New `Response.register_hook` for registering hooks within the1776    pipeline.1777-   `Response.url` is now Unicode.177817790.9.3 (2012-01-18)1780------------------17811782-   SSL verify=False bugfix (apparent on windows machines).178317840.9.2 (2012-01-18)1785------------------17861787-   Asynchronous async.send method.1788-   Support for proper chunk streams with boundaries.1789-   session argument for Session classes.1790-   Print entire hook tracebacks, not just exception instance.1791-   Fix response.iter\_lines from pending next line.1792-   Fix but in HTTP-digest auth w/ URI having query strings.1793-   Fix in Event Hooks section.1794-   Urllib3 update.179517960.9.1 (2012-01-06)1797------------------17981799-   danger\_mode for automatic Response.raise\_for\_status()1800-   Response.iter\_lines refactor180118020.9.0 (2011-12-28)1803------------------18041805-   verify ssl is default.180618070.8.9 (2011-12-28)1808------------------18091810-   Packaging fix.181118120.8.8 (2011-12-28)1813------------------18141815-   SSL CERT VERIFICATION!1816-   Release of Cerifi: Mozilla's cert list.1817-   New 'verify' argument for SSL requests.1818-   Urllib3 update.181918200.8.7 (2011-12-24)1821------------------18221823-   iter\_lines last-line truncation fix1824-   Force safe\_mode for async requests1825-   Handle safe\_mode exceptions more consistently1826-   Fix iteration on null responses in safe\_mode182718280.8.6 (2011-12-18)1829------------------18301831-   Socket timeout fixes.1832-   Proxy Authorization support.183318340.8.5 (2011-12-14)1835------------------18361837-   Response.iter\_lines!183818390.8.4 (2011-12-11)1840------------------18411842-   Prefetch bugfix.1843-   Added license to installed version.184418450.8.3 (2011-11-27)1846------------------18471848-   Converted auth system to use simpler callable objects.1849-   New session parameter to API methods.1850-   Display full URL while logging.185118520.8.2 (2011-11-19)1853------------------18541855-   New Unicode decoding system, based on over-ridable1856    Response.encoding.1857-   Proper URL slash-quote handling.1858-   Cookies with `[`, `]`, and `_` allowed.185918600.8.1 (2011-11-15)1861------------------18621863-   URL Request path fix1864-   Proxy fix.1865-   Timeouts fix.186618670.8.0 (2011-11-13)1868------------------18691870-   Keep-alive support!1871-   Complete removal of Urllib21872-   Complete removal of Poster1873-   Complete removal of CookieJars1874-   New ConnectionError raising1875-   Safe\_mode for error catching1876-   prefetch parameter for request methods1877-   OPTION method1878-   Async pool size throttling1879-   File uploads send real names1880-   Vendored in urllib3188118820.7.6 (2011-11-07)1883------------------18841885-   Digest authentication bugfix (attach query data to path)188618870.7.5 (2011-11-04)1888------------------18891890-   Response.content = None if there was an invalid response.1891-   Redirection auth handling.189218930.7.4 (2011-10-26)1894------------------18951896-   Session Hooks fix.189718980.7.3 (2011-10-23)1899------------------19001901-   Digest Auth fix.190219030.7.2 (2011-10-23)1904------------------19051906-   PATCH Fix.190719080.7.1 (2011-10-23)1909------------------19101911-   Move away from urllib2 authentication handling.1912-   Fully Remove AuthManager, AuthObject, &c.1913-   New tuple-based auth system with handler callbacks.191419150.7.0 (2011-10-22)1916------------------19171918-   Sessions are now the primary interface.1919-   Deprecated InvalidMethodException.1920-   PATCH fix.1921-   New config system (no more global settings).192219230.6.6 (2011-10-19)1924------------------19251926-   Session parameter bugfix (params merging).192719280.6.5 (2011-10-18)1929------------------19301931-   Offline (fast) test suite.1932-   Session dictionary argument merging.193319340.6.4 (2011-10-13)1935------------------19361937-   Automatic decoding of unicode, based on HTTP Headers.1938-   New `decode_unicode` setting.1939-   Removal of `r.read/close` methods.1940-   New `r.faw` interface for advanced response usage.\*1941-   Automatic expansion of parameterized headers.194219430.6.3 (2011-10-13)1944------------------19451946-   Beautiful `requests.async` module, for making async requests w/1947    gevent.194819490.6.2 (2011-10-09)1950------------------19511952-   GET/HEAD obeys allow\_redirects=False.195319540.6.1 (2011-08-20)1955------------------19561957-   Enhanced status codes experience `\o/`1958-   Set a maximum number of redirects (`settings.max_redirects`)1959-   Full Unicode URL support1960-   Support for protocol-less redirects.1961-   Allow for arbitrary request types.1962-   Bugfixes196319640.6.0 (2011-08-17)1965------------------19661967-   New callback hook system1968-   New persistent sessions object and context manager1969-   Transparent Dict-cookie handling1970-   Status code reference object1971-   Removed Response.cached1972-   Added Response.request1973-   All args are kwargs1974-   Relative redirect support1975-   HTTPError handling improvements1976-   Improved https testing1977-   Bugfixes197819790.5.1 (2011-07-23)1980------------------19811982-   International Domain Name Support!1983-   Access headers without fetching entire body (`read()`)1984-   Use lists as dicts for parameters1985-   Add Forced Basic Authentication1986-   Forced Basic is default authentication type1987-   `python-requests.org` default User-Agent header1988-   CaseInsensitiveDict lower-case caching1989-   Response.history bugfix199019910.5.0 (2011-06-21)1992------------------19931994-   PATCH Support1995-   Support for Proxies1996-   HTTPBin Test Suite1997-   Redirect Fixes1998-   settings.verbose stream writing1999-   Querystrings for all methods2000-   URLErrors (Connection Refused, Timeout, Invalid URLs) are treated as

The first 2,000 of 2,102 lines.