HISTORY.rst
This file
Path
HISTORY.rst
1,156 lines · 32.8 KiB
Last changed by
fixed date formattingKenneth Reitzbefore adoption296928f
History of this fileTake it
The walk stopped after 200 commits: lines older than b4c1fea point at it.
Merge pull request #2679 from sigmavirus24/bug/2668Cory Benfieldbefore adoptionb4c1fea
lines 1–5why, one step back1.. :changelog:23Release History4---------------5fixed date formattingKenneth Reitzbefore adoption296928f
line 6why, one step back62.10.0 (2016-04-29)v2.10.0Kenneth Reitzbefore adoptionefb4af0
lines 7–16why, one step back7+++++++++++++++++++89**New Features**1011- SOCKS Proxy Support! (requires PySocks; $ pip install requests[socks])1213**Miscellaneous**1415- Updated bundled urllib3 to 1.15.1.16fixed date formattingKenneth Reitzbefore adoption296928f
line 17why, one step back172.9.2 (2016-04-29)v2.9.2Kenneth Reitzbefore adoption2824867
lines 18–23why, one step back18++++++++++++++++++1920**Improvements**2122- Change built-in CaseInsensitiveDict (used for headers) to use OrderedDict23 as its underlying datastore.v2.9.2 in historyKenneth Reitzbefore adoption087de52
lines 24–27why, one step back2425**Bugfixes**2627- Don't use redirect_cache if allow_redirects=FalseMerge pull request #3036 from Lukasa/issue/3035Ian Cordascobefore adoption190cddd
lines 28–29why, one step back28- When passed objects that throw exceptions from ``tell()``, send them via29 chunked transfer encoding instead of failing.Update HISTORY.rstKenneth Reitzbefore adoption9057879
line 30why, one step back30- Raise a ProxyError for proxy related connection issues.v2.9.2 in historyKenneth Reitzbefore adoption087de52
line 31why, one step back31Merge pull request #2937 from Lukasa/release/2.9.1Ian Cordascobefore adoption06a411c
lines 32–44why, one step back322.9.1 (2015-12-21)33++++++++++++++++++3435**Bugfixes**3637- Resolve regression introduced in 2.9.0 that made it impossible to send binary38 strings as bodies in Python 3.39- Fixed errors when calculating cookie expiration dates in certain locales.4041**Miscellaneous**4243- Updated bundled urllib3 to 1.13.1.44v2.9.0Cory Benfieldbefore adoption5f7a3a7
lines 45–46why, one step back452.9.0 (2015-12-15)46++++++++++++++++++Merge pull request #2858 from Lukasa/support_ca_cert_directoriesIan Cordascobefore adoption35170e1
lines 47–51why, one step back4748**Minor Improvements** (Backwards compatible)4950- The ``verify`` keyword argument now supports being passed a path to a51 directory of CA certificates, not just a single-file bundle.Merge pull request #2927 from Lukasa/release/2.9.0Ian Cordascobefore adoption046a0f2
lines 52–74why, one step back52- Warnings are now emitted when sending files opened in text mode.53- Added the 511 Network Authentication Required status code to the status code54 registry.5556**Bugfixes**5758- For file-like objects that are not seeked to the very beginning, we now59 send the content length for the number of bytes we will actually read, rather60 than the total size of the file, allowing partial file uploads.61- When uploading file-like objects, if they are empty or have no obvious62 content length we set ``Transfer-Encoding: chunked`` rather than63 ``Content-Length: 0``.64- We correctly receive the response in buffered mode when uploading chunked65 bodies.66- We now handle being passed a query string as a bytestring on Python 3, by67 decoding it as UTF-8.68- Sessions are now closed in all cases (exceptional and not) when using the69 functional API rather than leaking and waiting for the garbage collector to70 clean them up.71- Correctly handle digest auth headers with a malformed ``qop`` directive that72 contains no token, by treating it the same as if no ``qop`` directive was73 provided at all.74- Minor performance improvements when removing specific cookies by name.Merge pull request #2937 from Lukasa/release/2.9.1Ian Cordascobefore adoption06a411c
lines 75–78why, one step back7576**Miscellaneous**7778- Updated urllib3 to 1.13.Merge pull request #2858 from Lukasa/support_ca_cert_directoriesIan Cordascobefore adoption35170e1
line 79why, one step back79v2.8.1Cory Benfieldbefore adoption18a6b60
lines 80–93why, one step back802.8.1 (2015-10-13)81++++++++++++++++++8283**Bugfixes**8485- Update certificate bundle to match ``certifi`` 2015.9.6.2's weak certificate86 bundle.87- Fix a bug in 2.8.0 where requests would raise ``ConnectTimeout`` instead of88 ``ConnectionError``89- When using the PreparedRequest flow, requests will now correctly respect the90 ``json`` parameter. Broken in 2.8.0.91- When using the PreparedRequest flow, requests will now correctly handle a92 Unicode-string method name on Python 2. Broken in 2.8.0.93Merge pull request #2804 from Lukasa/final-2.8.0Ian Cordascobefore adoptione499b35
lines 94–118why, one step back942.8.0 (2015-10-05)95++++++++++++++++++9697**Minor Improvements** (Backwards Compatible)9899- Requests now supports per-host proxies. This allows the ``proxies``100 dictionary to have entries of the form101 ``{'<scheme>://<hostname>': '<proxy>'}``. Host-specific proxies will be used102 in preference to the previously-supported scheme-specific ones, but the103 previous syntax will continue to work.104- ``Response.raise_for_status`` now prints the URL that failed as part of the105 exception message.106- ``requests.utils.get_netrc_auth`` now takes an ``raise_errors`` kwarg,107 defaulting to ``False``. When ``True``, errors parsing ``.netrc`` files cause108 exceptions to be thrown.109- Change to bundled projects import logic to make it easier to unbundle110 requests downstream.111- Changed the default User-Agent string to avoid leaking data on Linux: now112 contains only the requests version.113114**Bugfixes**115116- The ``json`` parameter to ``post()`` and friends will now only be used if117 neither ``data`` nor ``files`` are present, consistent with the118 documentation.Merge pull request #2909 from jwilk/spellingCory Benfieldbefore adoptiondfa97ad
line 119why, one step back119- We now ignore empty fields in the ``NO_PROXY`` environment variable.Merge pull request #2804 from Lukasa/final-2.8.0Ian Cordascobefore adoptione499b35
lines 120–130why, one step back120- Fixed problem where ``httplib.BadStatusLine`` would get raised if combining121 ``stream=True`` with ``contextlib.closing``.122- Prevented bugs where we would attempt to return the same connection back to123 the connection pool twice when sending a Chunked body.124- Miscellaneous minor internal changes.125- Digest Auth support is now thread safe.126127**Updates**128129- Updated urllib3 to 1.12.130Merge pull request #2679 from sigmavirus24/bug/2668Cory Benfieldbefore adoptionb4c1fea
lines 131–601why, one step back1312.7.0 (2015-05-03)132++++++++++++++++++133134This is the first release that follows our new release process. For more, see135`our documentation136<http://docs.python-requests.org/en/latest/community/release-process/>`_.137138**Bugfixes**139140- Updated urllib3 to 1.10.4, resolving several bugs involving chunked transfer141 encoding and response framing.1421432.6.2 (2015-04-23)144++++++++++++++++++145146**Bugfixes**147148- Fix regression where compressed data that was sent as chunked data was not149 properly decompressed. (#2561)1501512.6.1 (2015-04-22)152++++++++++++++++++153154**Bugfixes**155156- Remove VendorAlias import machinery introduced in v2.5.2.157158- Simplify the PreparedRequest.prepare API: We no longer require the user to159 pass an empty list to the hooks keyword argument. (c.f. #2552)160161- Resolve redirects now receives and forwards all of the original arguments to162 the adapter. (#2503)163164- Handle UnicodeDecodeErrors when trying to deal with a unicode URL that165 cannot be encoded in ASCII. (#2540)166167- Populate the parsed path of the URI field when performing Digest168 Authentication. (#2426)169170- Copy a PreparedRequest's CookieJar more reliably when it is not an instance171 of RequestsCookieJar. (#2527)1721732.6.0 (2015-03-14)174++++++++++++++++++175176**Bugfixes**177178- CVE-2015-2296: Fix handling of cookies on redirect. Previously a cookie179 without a host value set would use the hostname for the redirected URL180 exposing requests users to session fixation attacks and potentially cookie181 stealing. This was disclosed privately by Matthew Daley of182 `BugFuzz <https://bugfuzz.com>`_. This affects all versions of requests from183 v2.1.0 to v2.5.3 (inclusive on both ends).184185- Fix error when requests is an ``install_requires`` dependency and ``python186 setup.py test`` is run. (#2462)187188- Fix error when urllib3 is unbundled and requests continues to use the189 vendored import location.190191- Include fixes to ``urllib3``'s header handling.192193- Requests' handling of unvendored dependencies is now more restrictive.194195**Features and Improvements**196197- Support bytearrays when passed as parameters in the ``files`` argument.198 (#2468)199200- Avoid data duplication when creating a request with ``str``, ``bytes``, or201 ``bytearray`` input to the ``files`` argument.2022032.5.3 (2015-02-24)204++++++++++++++++++205206**Bugfixes**207208- Revert changes to our vendored certificate bundle. For more context see209 (#2455, #2456, and http://bugs.python.org/issue23476)2102112.5.2 (2015-02-23)212++++++++++++++++++213214**Features and Improvements**215216- Add sha256 fingerprint support. (`shazow/urllib3#540`_)217218- Improve the performance of headers. (`shazow/urllib3#544`_)219220**Bugfixes**221222- Copy pip's import machinery. When downstream redistributors remove223 requests.packages.urllib3 the import machinery will continue to let those224 same symbols work. Example usage in requests' documentation and 3rd-party225 libraries relying on the vendored copies of urllib3 will work without having226 to fallback to the system urllib3.227228- Attempt to quote parts of the URL on redirect if unquoting and then quoting229 fails. (#2356)230231- Fix filename type check for multipart form-data uploads. (#2411)232233- Properly handle the case where a server issuing digest authentication234 challenges provides both auth and auth-int qop-values. (#2408)235236- Fix a socket leak. (`shazow/urllib3#549`_)237238- Fix multiple ``Set-Cookie`` headers properly. (`shazow/urllib3#534`_)239240- Disable the built-in hostname verification. (`shazow/urllib3#526`_)241242- Fix the behaviour of decoding an exhausted stream. (`shazow/urllib3#535`_)243244**Security**245246- Pulled in an updated ``cacert.pem``.247248- Drop RC4 from the default cipher list. (`shazow/urllib3#551`_)249250.. _shazow/urllib3#551: https://github.com/shazow/urllib3/pull/551251.. _shazow/urllib3#549: https://github.com/shazow/urllib3/pull/549252.. _shazow/urllib3#544: https://github.com/shazow/urllib3/pull/544253.. _shazow/urllib3#540: https://github.com/shazow/urllib3/pull/540254.. _shazow/urllib3#535: https://github.com/shazow/urllib3/pull/535255.. _shazow/urllib3#534: https://github.com/shazow/urllib3/pull/534256.. _shazow/urllib3#526: https://github.com/shazow/urllib3/pull/5262572582.5.1 (2014-12-23)259++++++++++++++++++260261**Behavioural Changes**262263- Only catch HTTPErrors in raise_for_status (#2382)264265**Bugfixes**266267- Handle LocationParseError from urllib3 (#2344)268- Handle file-like object filenames that are not strings (#2379)269- Unbreak HTTPDigestAuth handler. Allow new nonces to be negotiated (#2389)2702712.5.0 (2014-12-01)272++++++++++++++++++273274**Improvements**275276- Allow usage of urllib3's Retry object with HTTPAdapters (#2216)277- The ``iter_lines`` method on a response now accepts a delimiter with which278 to split the content (#2295)279280**Behavioural Changes**281282- Add deprecation warnings to functions in requests.utils that will be removed283 in 3.0 (#2309)284- Sessions used by the functional API are always closed (#2326)285- Restrict requests to HTTP/1.1 and HTTP/1.0 (stop accepting HTTP/0.9) (#2323)286287**Bugfixes**288289- Only parse the URL once (#2353)290- Allow Content-Length header to always be overridden (#2332)291- Properly handle files in HTTPDigestAuth (#2333)292- Cap redirect_cache size to prevent memory abuse (#2299)293- Fix HTTPDigestAuth handling of redirects after authenticating successfully294 (#2253)295- Fix crash with custom method parameter to Session.request (#2317)296- Fix how Link headers are parsed using the regular expression library (#2271)297298**Documentation**299300- Add more references for interlinking (#2348)301- Update CSS for theme (#2290)302- Update width of buttons and sidebar (#2289)303- Replace references of Gittip with Gratipay (#2282)304- Add link to changelog in sidebar (#2273)3053062.4.3 (2014-10-06)307++++++++++++++++++308309**Bugfixes**310311- Unicode URL improvements for Python 2.312- Re-order JSON param for backwards compat.313- Automatically defrag authentication schemes from host/pass URIs. (`#2249 <https://github.com/kennethreitz/requests/issues/2249>`_)3143153162.4.2 (2014-10-05)317++++++++++++++++++318319**Improvements**320321- FINALLY! Add json parameter for uploads! (`#2258 <https://github.com/kennethreitz/requests/pull/2258>`_)322- Support for bytestring URLs on Python 3.x (`#2238 <https://github.com/kennethreitz/requests/pull/2238>`_)323324**Bugfixes**325326- Avoid getting stuck in a loop (`#2244 <https://github.com/kennethreitz/requests/pull/2244>`_)327- Multiple calls to iter* fail with unhelpful error. (`#2240 <https://github.com/kennethreitz/requests/issues/2240>`_, `#2241 <https://github.com/kennethreitz/requests/issues/2241>`_)328329**Documentation**330331- Correct redirection introduction (`#2245 <https://github.com/kennethreitz/requests/pull/2245/>`_)332- Added example of how to send multiple files in one request. (`#2227 <https://github.com/kennethreitz/requests/pull/2227/>`_)333- Clarify how to pass a custom set of CAs (`#2248 <https://github.com/kennethreitz/requests/pull/2248/>`_)3343353363372.4.1 (2014-09-09)338++++++++++++++++++339340- Now has a "security" package extras set, ``$ pip install requests[security]``341- Requests will now use Certifi if it is available.342- Capture and re-raise urllib3 ProtocolError343- Bugfix for responses that attempt to redirect to themselves forever (wtf?).3443453462.4.0 (2014-08-29)347++++++++++++++++++348349**Behavioral Changes**350351- ``Connection: keep-alive`` header is now sent automatically.352353**Improvements**354355- Support for connect timeouts! Timeout now accepts a tuple (connect, read) which is used to set individual connect and read timeouts.356- Allow copying of PreparedRequests without headers/cookies.357- Updated bundled urllib3 version.358- Refactored settings loading from environment -- new `Session.merge_environment_settings`.359- Handle socket errors in iter_content.3603613622.3.0 (2014-05-16)363++++++++++++++++++364365**API Changes**366367- New ``Response`` property ``is_redirect``, which is true when the368 library could have processed this response as a redirection (whether369 or not it actually did).370- The ``timeout`` parameter now affects requests with both ``stream=True`` and371 ``stream=False`` equally.372- The change in v2.0.0 to mandate explicit proxy schemes has been reverted.373 Proxy schemes now default to ``http://``.374- The ``CaseInsensitiveDict`` used for HTTP headers now behaves like a normal375 dictionary when references as string or viewed in the interpreter.376377**Bugfixes**378379- No longer expose Authorization or Proxy-Authorization headers on redirect.380 Fix CVE-2014-1829 and CVE-2014-1830 respectively.381- Authorization is re-evaluated each redirect.382- On redirect, pass url as native strings.383- Fall-back to autodetected encoding for JSON when Unicode detection fails.384- Headers set to ``None`` on the ``Session`` are now correctly not sent.385- Correctly honor ``decode_unicode`` even if it wasn't used earlier in the same386 response.387- Stop advertising ``compress`` as a supported Content-Encoding.388- The ``Response.history`` parameter is now always a list.389- Many, many ``urllib3`` bugfixes.3903912.2.1 (2014-01-23)392++++++++++++++++++393394**Bugfixes**395396- Fixes incorrect parsing of proxy credentials that contain a literal or encoded '#' character.397- Assorted urllib3 fixes.3983992.2.0 (2014-01-09)400++++++++++++++++++401402**API Changes**403404- New exception: ``ContentDecodingError``. Raised instead of ``urllib3``405 ``DecodeError`` exceptions.406407**Bugfixes**408409- Avoid many many exceptions from the buggy implementation of ``proxy_bypass`` on OS X in Python 2.6.410- Avoid crashing when attempting to get authentication credentials from ~/.netrc when running as a user without a home directory.411- Use the correct pool size for pools of connections to proxies.412- Fix iteration of ``CookieJar`` objects.413- Ensure that cookies are persisted over redirect.414- Switch back to using chardet, since it has merged with charade.4154162.1.0 (2013-12-05)417++++++++++++++++++418419- Updated CA Bundle, of course.420- Cookies set on individual Requests through a ``Session`` (e.g. via ``Session.get()``) are no longer persisted to the ``Session``.421- Clean up connections when we hit problems during chunked upload, rather than leaking them.422- Return connections to the pool when a chunked upload is successful, rather than leaking it.423- Match the HTTPbis recommendation for HTTP 301 redirects.424- Prevent hanging when using streaming uploads and Digest Auth when a 401 is received.425- Values of headers set by Requests are now always the native string type.426- Fix previously broken SNI support.427- Fix accessing HTTP proxies using proxy authentication.428- Unencode HTTP Basic usernames and passwords extracted from URLs.429- Support for IP address ranges for no_proxy environment variable430- Parse headers correctly when users override the default ``Host:`` header.431- Avoid munging the URL in case of case-sensitive servers.432- Looser URL handling for non-HTTP/HTTPS urls.433- Accept unicode methods in Python 2.6 and 2.7.434- More resilient cookie handling.435- Make ``Response`` objects pickleable.436- Actually added MD5-sess to Digest Auth instead of pretending to like last time.437- Updated internal urllib3.438- Fixed @Lukasa's lack of taste.4394402.0.1 (2013-10-24)441++++++++++++++++++442443- Updated included CA Bundle with new mistrusts and automated process for the future444- Added MD5-sess to Digest Auth445- Accept per-file headers in multipart file POST messages.446- Fixed: Don't send the full URL on CONNECT messages.447- Fixed: Correctly lowercase a redirect scheme.448- Fixed: Cookies not persisted when set via functional API.449- Fixed: Translate urllib3 ProxyError into a requests ProxyError derived from ConnectionError.450- Updated internal urllib3 and chardet.4514522.0.0 (2013-09-24)453++++++++++++++++++454455**API Changes:**456457- Keys in the Headers dictionary are now native strings on all Python versions,458 i.e. bytestrings on Python 2, unicode on Python 3.459- Proxy URLs now *must* have an explicit scheme. A ``MissingSchema`` exception460 will be raised if they don't.461- Timeouts now apply to read time if ``Stream=False``.462- ``RequestException`` is now a subclass of ``IOError``, not ``RuntimeError``.463- Added new method to ``PreparedRequest`` objects: ``PreparedRequest.copy()``.464- Added new method to ``Session`` objects: ``Session.update_request()``. This465 method updates a ``Request`` object with the data (e.g. cookies) stored on466 the ``Session``.467- Added new method to ``Session`` objects: ``Session.prepare_request()``. This468 method updates and prepares a ``Request`` object, and returns the469 corresponding ``PreparedRequest`` object.470- Added new method to ``HTTPAdapter`` objects: ``HTTPAdapter.proxy_headers()``.471 This should not be called directly, but improves the subclass interface.472- ``httplib.IncompleteRead`` exceptions caused by incorrect chunked encoding473 will now raise a Requests ``ChunkedEncodingError`` instead.474- Invalid percent-escape sequences now cause a Requests ``InvalidURL``475 exception to be raised.476- HTTP 208 no longer uses reason phrase ``"im_used"``. Correctly uses477 ``"already_reported"``.478- HTTP 226 reason added (``"im_used"``).479480**Bugfixes:**481482- Vastly improved proxy support, including the CONNECT verb. Special thanks to483 the many contributors who worked towards this improvement.484- Cookies are now properly managed when 401 authentication responses are485 received.486- Chunked encoding fixes.487- Support for mixed case schemes.488- Better handling of streaming downloads.489- Retrieve environment proxies from more locations.490- Minor cookies fixes.491- Improved redirect behaviour.492- Improved streaming behaviour, particularly for compressed data.493- Miscellaneous small Python 3 text encoding bugs.494- ``.netrc`` no longer overrides explicit auth.495- Cookies set by hooks are now correctly persisted on Sessions.496- Fix problem with cookies that specify port numbers in their host field.497- ``BytesIO`` can be used to perform streaming uploads.498- More generous parsing of the ``no_proxy`` environment variable.499- Non-string objects can be passed in data values alongside files.5005011.2.3 (2013-05-25)502++++++++++++++++++503504- Simple packaging fix5055065071.2.2 (2013-05-23)508++++++++++++++++++509510- Simple packaging fix5115125131.2.1 (2013-05-20)514++++++++++++++++++515516- 301 and 302 redirects now change the verb to GET for all verbs, not just517 POST, improving browser compatibility.518- Python 3.3.2 compatibility519- Always percent-encode location headers520- Fix connection adapter matching to be most-specific first521- new argument to the default connection adapter for passing a block argument522- prevent a KeyError when there's no link headers5235241.2.0 (2013-03-31)525++++++++++++++++++526527- Fixed cookies on sessions and on requests528- Significantly change how hooks are dispatched - hooks now receive all the529 arguments specified by the user when making a request so hooks can make a530 secondary request with the same parameters. This is especially necessary for531 authentication handler authors532- certifi support was removed533- Fixed bug where using OAuth 1 with body ``signature_type`` sent no data534- Major proxy work thanks to @Lukasa including parsing of proxy authentication535 from the proxy url536- Fix DigestAuth handling too many 401s537- Update vendored urllib3 to include SSL bug fixes538- Allow keyword arguments to be passed to ``json.loads()`` via the539 ``Response.json()`` method540- Don't send ``Content-Length`` header by default on ``GET`` or ``HEAD``541 requests542- Add ``elapsed`` attribute to ``Response`` objects to time how long a request543 took.544- Fix ``RequestsCookieJar``545- Sessions and Adapters are now picklable, i.e., can be used with the546 multiprocessing library547- Update charade to version 1.0.3548549The change in how hooks are dispatched will likely cause a great deal of550issues.5515521.1.0 (2013-01-10)553++++++++++++++++++554555- CHUNKED REQUESTS556- Support for iterable response bodies557- Assume servers persist redirect params558- Allow explicit content types to be specified for file data559- Make merge_kwargs case-insensitive when looking up keys5605611.0.3 (2012-12-18)562++++++++++++++++++563564- Fix file upload encoding bug565- Fix cookie behavior5665671.0.2 (2012-12-17)568++++++++++++++++++569570- Proxy fix for HTTPAdapter.5715721.0.1 (2012-12-17)573++++++++++++++++++574575- Cert verification exception bug.576- Proxy fix for HTTPAdapter.5775781.0.0 (2012-12-17)579++++++++++++++++++580581- Massive Refactor and Simplification582- Switch to Apache 2.0 license583- Swappable Connection Adapters584- Mountable Connection Adapters585- Mutable ProcessedRequest chain586- /s/prefetch/stream587- Removal of all configuration588- Standard library logging589- Make Response.json() callable, not property.590- Usage of new charade project, which provides python 2 and 3 simultaneous chardet.591- Removal of all hooks except 'response'592- Removal of all authentication helpers (OAuth, Kerberos)593594This is not a backwards compatible change.5955960.14.2 (2012-10-27)597+++++++++++++++++++598599- Improved mime-compatible JSON handling600- Proxy fixes601- Path hack fixesMerge pull request #2909 from jwilk/spellingCory Benfieldbefore adoptiondfa97ad
line 602why, one step back602- Case-Insensitive Content-Encoding headersMerge pull request #2679 from sigmavirus24/bug/2668Cory Benfieldbefore adoptionb4c1fea
lines 603–688why, one step back603- Support for CJK parameters in form posts6046056060.14.1 (2012-10-01)607+++++++++++++++++++608609- Python 3.3 Compatibility610- Simply default accept-encoding611- Bugfixes6126136140.14.0 (2012-09-02)615++++++++++++++++++++616617- No more iter_content errors if already downloaded.6186190.13.9 (2012-08-25)620+++++++++++++++++++621622- Fix for OAuth + POSTs623- Remove exception eating from dispatch_hook624- General bugfixes6256260.13.8 (2012-08-21)627+++++++++++++++++++628629- Incredible Link header support :)6306310.13.7 (2012-08-19)632+++++++++++++++++++633634- Support for (key, value) lists everywhere.635- Digest Authentication improvements.636- Ensure proxy exclusions work properly.637- Clearer UnicodeError exceptions.638- Automatic casting of URLs to strings (fURL and such)639- Bugfixes.6406410.13.6 (2012-08-06)642+++++++++++++++++++643644- Long awaited fix for hanging connections!6456460.13.5 (2012-07-27)647+++++++++++++++++++648649- Packaging fix6506510.13.4 (2012-07-27)652+++++++++++++++++++653654- GSSAPI/Kerberos authentication!655- App Engine 2.7 Fixes!656- Fix leaking connections (from urllib3 update)657- OAuthlib path hack fix658- OAuthlib URL parameters fix.6596600.13.3 (2012-07-12)661+++++++++++++++++++662663- Use simplejson if available.664- Do not hide SSLErrors behind Timeouts.665- Fixed param handling with urls containing fragments.666- Significantly improved information in User Agent.667- client certificates are ignored when verify=False6686690.13.2 (2012-06-28)670+++++++++++++++++++671672- Zero dependencies (once again)!673- New: Response.reason674- Sign querystring parameters in OAuth 1.0675- Client certificates no longer ignored when verify=False676- Add openSUSE certificate support6776780.13.1 (2012-06-07)679+++++++++++++++++++680681- Allow passing a file or file-like object as data.682- Allow hooks to return responses that indicate errors.683- Fix Response.text and Response.json for body-less responses.6846850.13.0 (2012-05-29)686+++++++++++++++++++687688- Removal of Requests.async in favor of `grequests <https://github.com/kennethreitz/grequests>`_Merge pull request #2909 from jwilk/spellingCory Benfieldbefore adoptiondfa97ad
line 689why, one step back689- Allow disabling of cookie persistence.Merge pull request #2679 from sigmavirus24/bug/2668Cory Benfieldbefore adoptionb4c1fea
lines 690–1156why, one step back690- New implementation of safe_mode691- cookies.get now supports default argument692- Session cookies not saved when Session.request is called with return_response=False693- Env: no_proxy support.694- RequestsCookieJar improvements.695- Various bug fixes.6966970.12.1 (2012-05-08)698+++++++++++++++++++699700- New ``Response.json`` property.701- Ability to add string file uploads.702- Fix out-of-range issue with iter_lines.703- Fix iter_content default size.704- Fix POST redirects containing files.7057060.12.0 (2012-05-02)707+++++++++++++++++++708709- EXPERIMENTAL OAUTH SUPPORT!710- Proper CookieJar-backed cookies interface with awesome dict-like interface.711- Speed fix for non-iterated content chunks.712- Move ``pre_request`` to a more usable place.713- New ``pre_send`` hook.714- Lazily encode data, params, files.715- Load system Certificate Bundle if ``certify`` isn't available.716- Cleanups, fixes.7177180.11.2 (2012-04-22)719+++++++++++++++++++720721- Attempt to use the OS's certificate bundle if ``certifi`` isn't available.722- Infinite digest auth redirect fix.723- Multi-part file upload improvements.724- Fix decoding of invalid %encodings in URLs.725- If there is no content in a response don't throw an error the second time that content is attempted to be read.726- Upload data on redirects.7277280.11.1 (2012-03-30)729+++++++++++++++++++730731* POST redirects now break RFC to do what browsers do: Follow up with a GET.732* New ``strict_mode`` configuration to disable new redirect behavior.7337347350.11.0 (2012-03-14)736+++++++++++++++++++737738* Private SSL Certificate support739* Remove select.poll from Gevent monkeypatching740* Remove redundant generator for chunked transfer encoding741* Fix: Response.ok raises Timeout Exception in safe_mode7427430.10.8 (2012-03-09)744+++++++++++++++++++745746* Generate chunked ValueError fix747* Proxy configuration by environment variables748* Simplification of iter_lines.749* New `trust_env` configuration for disabling system/environment hints.750* Suppress cookie errors.7517520.10.7 (2012-03-07)753+++++++++++++++++++754755* `encode_uri` = False7567570.10.6 (2012-02-25)758+++++++++++++++++++759760* Allow '=' in cookies.7617620.10.5 (2012-02-25)763+++++++++++++++++++764765* Response body with 0 content-length fix.766* New async.imap.767* Don't fail on netrc.7687697700.10.4 (2012-02-20)771+++++++++++++++++++772773* Honor netrc.7747750.10.3 (2012-02-20)776+++++++++++++++++++777778* HEAD requests don't follow redirects anymore.779* raise_for_status() doesn't raise for 3xx anymore.780* Make Session objects picklable.781* ValueError for invalid schema URLs.7827830.10.2 (2012-01-15)784+++++++++++++++++++785786* Vastly improved URL quoting.787* Additional allowed cookie key values.788* Attempted fix for "Too many open files" Error789* Replace unicode errors on first pass, no need for second pass.790* Append '/' to bare-domain urls before query insertion.791* Exceptions now inherit from RuntimeError.792* Binary uploads + auth fix.793* Bugfixes.7947957960.10.1 (2012-01-23)797+++++++++++++++++++798799* PYTHON 3 SUPPORT!800* Dropped 2.5 Support. (*Backwards Incompatible*)8018020.10.0 (2012-01-21)803+++++++++++++++++++804805* ``Response.content`` is now bytes-only. (*Backwards Incompatible*)806* New ``Response.text`` is unicode-only.807* If no ``Response.encoding`` is specified and ``chardet`` is available, ``Response.text`` will guess an encoding.808* Default to ISO-8859-1 (Western) encoding for "text" subtypes.809* Removal of `decode_unicode`. (*Backwards Incompatible*)810* New multiple-hooks system.811* New ``Response.register_hook`` for registering hooks within the pipeline.812* ``Response.url`` is now Unicode.8138140.9.3 (2012-01-18)815++++++++++++++++++816817* SSL verify=False bugfix (apparent on windows machines).8188190.9.2 (2012-01-18)820++++++++++++++++++821822* Asynchronous async.send method.823* Support for proper chunk streams with boundaries.824* session argument for Session classes.825* Print entire hook tracebacks, not just exception instance.826* Fix response.iter_lines from pending next line.827* Fix but in HTTP-digest auth w/ URI having query strings.828* Fix in Event Hooks section.829* Urllib3 update.8308318320.9.1 (2012-01-06)833++++++++++++++++++834835* danger_mode for automatic Response.raise_for_status()836* Response.iter_lines refactor8378380.9.0 (2011-12-28)839++++++++++++++++++840841* verify ssl is default.8428438440.8.9 (2011-12-28)845++++++++++++++++++846847* Packaging fix.8488498500.8.8 (2011-12-28)851++++++++++++++++++852853* SSL CERT VERIFICATION!854* Release of Cerifi: Mozilla's cert list.855* New 'verify' argument for SSL requests.856* Urllib3 update.8578580.8.7 (2011-12-24)859++++++++++++++++++860861* iter_lines last-line truncation fix862* Force safe_mode for async requests863* Handle safe_mode exceptions more consistently864* Fix iteration on null responses in safe_mode8658660.8.6 (2011-12-18)867++++++++++++++++++868869* Socket timeout fixes.870* Proxy Authorization support.8718720.8.5 (2011-12-14)873++++++++++++++++++874875* Response.iter_lines!8768770.8.4 (2011-12-11)878++++++++++++++++++879880* Prefetch bugfix.881* Added license to installed version.8828830.8.3 (2011-11-27)884++++++++++++++++++885886* Converted auth system to use simpler callable objects.887* New session parameter to API methods.888* Display full URL while logging.8898900.8.2 (2011-11-19)891++++++++++++++++++892893* New Unicode decoding system, based on over-ridable `Response.encoding`.894* Proper URL slash-quote handling.895* Cookies with ``[``, ``]``, and ``_`` allowed.8968970.8.1 (2011-11-15)898++++++++++++++++++899900* URL Request path fix901* Proxy fix.902* Timeouts fix.9039040.8.0 (2011-11-13)905++++++++++++++++++906907* Keep-alive support!908* Complete removal of Urllib2909* Complete removal of Poster910* Complete removal of CookieJars911* New ConnectionError raising912* Safe_mode for error catching913* prefetch parameter for request methods914* OPTION method915* Async pool size throttling916* File uploads send real names917* Vendored in urllib39189190.7.6 (2011-11-07)920++++++++++++++++++921922* Digest authentication bugfix (attach query data to path)9239240.7.5 (2011-11-04)925++++++++++++++++++926927* Response.content = None if there was an invalid response.928* Redirection auth handling.9299300.7.4 (2011-10-26)931++++++++++++++++++932933* Session Hooks fix.9349350.7.3 (2011-10-23)936++++++++++++++++++937938* Digest Auth fix.9399409410.7.2 (2011-10-23)942++++++++++++++++++943944* PATCH Fix.9459469470.7.1 (2011-10-23)948++++++++++++++++++949950* Move away from urllib2 authentication handling.951* Fully Remove AuthManager, AuthObject, &c.952* New tuple-based auth system with handler callbacks.9539549550.7.0 (2011-10-22)956++++++++++++++++++957958* Sessions are now the primary interface.959* Deprecated InvalidMethodException.960* PATCH fix.961* New config system (no more global settings).9629639640.6.6 (2011-10-19)965++++++++++++++++++966967* Session parameter bugfix (params merging).9689699700.6.5 (2011-10-18)971++++++++++++++++++972973* Offline (fast) test suite.974* Session dictionary argument merging.9759769770.6.4 (2011-10-13)978++++++++++++++++++979980* Automatic decoding of unicode, based on HTTP Headers.981* New ``decode_unicode`` setting.982* Removal of ``r.read/close`` methods.983* New ``r.faw`` interface for advanced response usage.*984* Automatic expansion of parameterized headers.9859869870.6.3 (2011-10-13)988++++++++++++++++++989990* Beautiful ``requests.async`` module, for making async requests w/ gevent.9919929930.6.2 (2011-10-09)994++++++++++++++++++995996* GET/HEAD obeys allow_redirects=False.9979989990.6.1 (2011-08-20)1000++++++++++++++++++10011002* Enhanced status codes experience ``\o/``1003* Set a maximum number of redirects (``settings.max_redirects``)1004* Full Unicode URL support1005* Support for protocol-less redirects.1006* Allow for arbitrary request types.1007* Bugfixes1008100910100.6.0 (2011-08-17)1011++++++++++++++++++10121013* New callback hook system1014* New persistent sessions object and context manager1015* Transparent Dict-cookie handling1016* Status code reference object1017* Removed Response.cached1018* Added Response.request1019* All args are kwargs1020* Relative redirect support1021* HTTPError handling improvements1022* Improved https testing1023* Bugfixes1024102510260.5.1 (2011-07-23)1027++++++++++++++++++10281029* International Domain Name Support!1030* Access headers without fetching entire body (``read()``)1031* Use lists as dicts for parameters1032* Add Forced Basic Authentication1033* Forced Basic is default authentication type1034* ``python-requests.org`` default User-Agent header1035* CaseInsensitiveDict lower-case caching1036* Response.history bugfix1037103810390.5.0 (2011-06-21)1040++++++++++++++++++10411042* PATCH Support1043* Support for Proxies1044* HTTPBin Test Suite1045* Redirect Fixes1046* settings.verbose stream writing1047* Querystrings for all methods1048* URLErrors (Connection Refused, Timeout, Invalid URLs) are treated as explicitly raised1049 ``r.requests.get('hwe://blah'); r.raise_for_status()``1050105110520.4.1 (2011-05-22)1053++++++++++++++++++10541055* Improved Redirection Handling1056* New 'allow_redirects' param for following non-GET/HEAD Redirects1057* Settings module refactoring1058105910600.4.0 (2011-05-15)1061++++++++++++++++++10621063* Response.history: list of redirected responses1064* Case-Insensitive Header Dictionaries!1065* Unicode URLs1066106710680.3.4 (2011-05-14)1069++++++++++++++++++10701071* Urllib2 HTTPAuthentication Recursion fix (Basic/Digest)1072* Internal Refactor1073* Bytes data upload Bugfix10741075107610770.3.3 (2011-05-12)1078++++++++++++++++++10791080* Request timeouts1081* Unicode url-encoded data1082* Settings context manager and module1083108410850.3.2 (2011-04-15)1086++++++++++++++++++10871088* Automatic Decompression of GZip Encoded Content1089* AutoAuth Support for Tupled HTTP Auth1090109110920.3.1 (2011-04-01)1093++++++++++++++++++10941095* Cookie Changes1096* Response.read()1097* Poster fix1098109911000.3.0 (2011-02-25)1101++++++++++++++++++11021103* Automatic Authentication API Change1104* Smarter Query URL Parameterization1105* Allow file uploads and POST data together1106* New Authentication Manager System1107 - Simpler Basic HTTP System1108 - Supports all build-in urllib2 Auths1109 - Allows for custom Auth Handlers1110111111120.2.4 (2011-02-19)1113++++++++++++++++++11141115* Python 2.5 Support1116* PyPy-c v1.4 Support1117* Auto-Authentication tests1118* Improved Request object constructor111911200.2.3 (2011-02-15)1121++++++++++++++++++11221123* New HTTPHandling Methods1124 - Response.__nonzero__ (false if bad HTTP Status)1125 - Response.ok (True if expected HTTP Status)1126 - Response.error (Logged HTTPError if bad HTTP Status)1127 - Response.raise_for_status() (Raises stored HTTPError)1128112911300.2.2 (2011-02-14)1131++++++++++++++++++11321133* Still handles request in the event of an HTTPError. (Issue #2)1134* Eventlet and Gevent Monkeypatch support.1135* Cookie Support (Issue #1)1136113711380.2.1 (2011-02-14)1139++++++++++++++++++11401141* Added file attribute to POST and PUT requests for multipart-encode file uploads.1142* Added Request.url attribute for context and redirects1143114411450.2.0 (2011-02-14)1146++++++++++++++++++11471148* Birth!1149115011510.0.1 (2011-02-13)1152++++++++++++++++++11531154* Frustration1155* Conception1156