Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(628)

Side by Side Diff: recipe_engine/third_party/requests/HISTORY.rst

Issue 2164713003: Vendor requests. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/recipes-py@master
Patch Set: Fix deps.pyl Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 .. :changelog:
2
3 Release History
4 ---------------
5
6 2.10.0 (04-29-2016)
7 +++++++++++++++++++
8
9 **New Features**
10
11 - SOCKS Proxy Support! (requires PySocks; $ pip install requests[socks])
12
13 **Miscellaneous**
14
15 - Updated bundled urllib3 to 1.15.1.
16
17 2.9.2 (04-29-2016)
18 ++++++++++++++++++
19
20 **Improvements**
21
22 - Change built-in CaseInsensitiveDict (used for headers) to use OrderedDict
23 as its underlying datastore.
24
25 **Bugfixes**
26
27 - Don't use redirect_cache if allow_redirects=False
28 - When passed objects that throw exceptions from ``tell()``, send them via
29 chunked transfer encoding instead of failing.
30 - Raise a ProxyError for proxy related connection issues.
31
32 2.9.1 (2015-12-21)
33 ++++++++++++++++++
34
35 **Bugfixes**
36
37 - Resolve regression introduced in 2.9.0 that made it impossible to send binary
38 strings as bodies in Python 3.
39 - Fixed errors when calculating cookie expiration dates in certain locales.
40
41 **Miscellaneous**
42
43 - Updated bundled urllib3 to 1.13.1.
44
45 2.9.0 (2015-12-15)
46 ++++++++++++++++++
47
48 **Minor Improvements** (Backwards compatible)
49
50 - The ``verify`` keyword argument now supports being passed a path to a
51 directory of CA certificates, not just a single-file bundle.
52 - Warnings are now emitted when sending files opened in text mode.
53 - Added the 511 Network Authentication Required status code to the status code
54 registry.
55
56 **Bugfixes**
57
58 - For file-like objects that are not seeked to the very beginning, we now
59 send the content length for the number of bytes we will actually read, rather
60 than the total size of the file, allowing partial file uploads.
61 - When uploading file-like objects, if they are empty or have no obvious
62 content length we set ``Transfer-Encoding: chunked`` rather than
63 ``Content-Length: 0``.
64 - We correctly receive the response in buffered mode when uploading chunked
65 bodies.
66 - We now handle being passed a query string as a bytestring on Python 3, by
67 decoding it as UTF-8.
68 - Sessions are now closed in all cases (exceptional and not) when using the
69 functional API rather than leaking and waiting for the garbage collector to
70 clean them up.
71 - Correctly handle digest auth headers with a malformed ``qop`` directive that
72 contains no token, by treating it the same as if no ``qop`` directive was
73 provided at all.
74 - Minor performance improvements when removing specific cookies by name.
75
76 **Miscellaneous**
77
78 - Updated urllib3 to 1.13.
79
80 2.8.1 (2015-10-13)
81 ++++++++++++++++++
82
83 **Bugfixes**
84
85 - Update certificate bundle to match ``certifi`` 2015.9.6.2's weak certificate
86 bundle.
87 - Fix a bug in 2.8.0 where requests would raise ``ConnectTimeout`` instead of
88 ``ConnectionError``
89 - When using the PreparedRequest flow, requests will now correctly respect the
90 ``json`` parameter. Broken in 2.8.0.
91 - When using the PreparedRequest flow, requests will now correctly handle a
92 Unicode-string method name on Python 2. Broken in 2.8.0.
93
94 2.8.0 (2015-10-05)
95 ++++++++++++++++++
96
97 **Minor Improvements** (Backwards Compatible)
98
99 - Requests now supports per-host proxies. This allows the ``proxies``
100 dictionary to have entries of the form
101 ``{'<scheme>://<hostname>': '<proxy>'}``. Host-specific proxies will be used
102 in preference to the previously-supported scheme-specific ones, but the
103 previous syntax will continue to work.
104 - ``Response.raise_for_status`` now prints the URL that failed as part of the
105 exception message.
106 - ``requests.utils.get_netrc_auth`` now takes an ``raise_errors`` kwarg,
107 defaulting to ``False``. When ``True``, errors parsing ``.netrc`` files cause
108 exceptions to be thrown.
109 - Change to bundled projects import logic to make it easier to unbundle
110 requests downstream.
111 - Changed the default User-Agent string to avoid leaking data on Linux: now
112 contains only the requests version.
113
114 **Bugfixes**
115
116 - The ``json`` parameter to ``post()`` and friends will now only be used if
117 neither ``data`` nor ``files`` are present, consistent with the
118 documentation.
119 - We now ignore empty fields in the ``NO_PROXY`` environment variable.
120 - Fixed problem where ``httplib.BadStatusLine`` would get raised if combining
121 ``stream=True`` with ``contextlib.closing``.
122 - Prevented bugs where we would attempt to return the same connection back to
123 the connection pool twice when sending a Chunked body.
124 - Miscellaneous minor internal changes.
125 - Digest Auth support is now thread safe.
126
127 **Updates**
128
129 - Updated urllib3 to 1.12.
130
131 2.7.0 (2015-05-03)
132 ++++++++++++++++++
133
134 This is the first release that follows our new release process. For more, see
135 `our documentation
136 <http://docs.python-requests.org/en/latest/community/release-process/>`_.
137
138 **Bugfixes**
139
140 - Updated urllib3 to 1.10.4, resolving several bugs involving chunked transfer
141 encoding and response framing.
142
143 2.6.2 (2015-04-23)
144 ++++++++++++++++++
145
146 **Bugfixes**
147
148 - Fix regression where compressed data that was sent as chunked data was not
149 properly decompressed. (#2561)
150
151 2.6.1 (2015-04-22)
152 ++++++++++++++++++
153
154 **Bugfixes**
155
156 - Remove VendorAlias import machinery introduced in v2.5.2.
157
158 - Simplify the PreparedRequest.prepare API: We no longer require the user to
159 pass an empty list to the hooks keyword argument. (c.f. #2552)
160
161 - Resolve redirects now receives and forwards all of the original arguments to
162 the adapter. (#2503)
163
164 - Handle UnicodeDecodeErrors when trying to deal with a unicode URL that
165 cannot be encoded in ASCII. (#2540)
166
167 - Populate the parsed path of the URI field when performing Digest
168 Authentication. (#2426)
169
170 - Copy a PreparedRequest's CookieJar more reliably when it is not an instance
171 of RequestsCookieJar. (#2527)
172
173 2.6.0 (2015-03-14)
174 ++++++++++++++++++
175
176 **Bugfixes**
177
178 - CVE-2015-2296: Fix handling of cookies on redirect. Previously a cookie
179 without a host value set would use the hostname for the redirected URL
180 exposing requests users to session fixation attacks and potentially cookie
181 stealing. This was disclosed privately by Matthew Daley of
182 `BugFuzz <https://bugfuzz.com>`_. This affects all versions of requests from
183 v2.1.0 to v2.5.3 (inclusive on both ends).
184
185 - Fix error when requests is an ``install_requires`` dependency and ``python
186 setup.py test`` is run. (#2462)
187
188 - Fix error when urllib3 is unbundled and requests continues to use the
189 vendored import location.
190
191 - Include fixes to ``urllib3``'s header handling.
192
193 - Requests' handling of unvendored dependencies is now more restrictive.
194
195 **Features and Improvements**
196
197 - Support bytearrays when passed as parameters in the ``files`` argument.
198 (#2468)
199
200 - Avoid data duplication when creating a request with ``str``, ``bytes``, or
201 ``bytearray`` input to the ``files`` argument.
202
203 2.5.3 (2015-02-24)
204 ++++++++++++++++++
205
206 **Bugfixes**
207
208 - Revert changes to our vendored certificate bundle. For more context see
209 (#2455, #2456, and http://bugs.python.org/issue23476)
210
211 2.5.2 (2015-02-23)
212 ++++++++++++++++++
213
214 **Features and Improvements**
215
216 - Add sha256 fingerprint support. (`shazow/urllib3#540`_)
217
218 - Improve the performance of headers. (`shazow/urllib3#544`_)
219
220 **Bugfixes**
221
222 - Copy pip's import machinery. When downstream redistributors remove
223 requests.packages.urllib3 the import machinery will continue to let those
224 same symbols work. Example usage in requests' documentation and 3rd-party
225 libraries relying on the vendored copies of urllib3 will work without having
226 to fallback to the system urllib3.
227
228 - Attempt to quote parts of the URL on redirect if unquoting and then quoting
229 fails. (#2356)
230
231 - Fix filename type check for multipart form-data uploads. (#2411)
232
233 - Properly handle the case where a server issuing digest authentication
234 challenges provides both auth and auth-int qop-values. (#2408)
235
236 - Fix a socket leak. (`shazow/urllib3#549`_)
237
238 - Fix multiple ``Set-Cookie`` headers properly. (`shazow/urllib3#534`_)
239
240 - Disable the built-in hostname verification. (`shazow/urllib3#526`_)
241
242 - Fix the behaviour of decoding an exhausted stream. (`shazow/urllib3#535`_)
243
244 **Security**
245
246 - Pulled in an updated ``cacert.pem``.
247
248 - Drop RC4 from the default cipher list. (`shazow/urllib3#551`_)
249
250 .. _shazow/urllib3#551: https://github.com/shazow/urllib3/pull/551
251 .. _shazow/urllib3#549: https://github.com/shazow/urllib3/pull/549
252 .. _shazow/urllib3#544: https://github.com/shazow/urllib3/pull/544
253 .. _shazow/urllib3#540: https://github.com/shazow/urllib3/pull/540
254 .. _shazow/urllib3#535: https://github.com/shazow/urllib3/pull/535
255 .. _shazow/urllib3#534: https://github.com/shazow/urllib3/pull/534
256 .. _shazow/urllib3#526: https://github.com/shazow/urllib3/pull/526
257
258 2.5.1 (2014-12-23)
259 ++++++++++++++++++
260
261 **Behavioural Changes**
262
263 - Only catch HTTPErrors in raise_for_status (#2382)
264
265 **Bugfixes**
266
267 - 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)
270
271 2.5.0 (2014-12-01)
272 ++++++++++++++++++
273
274 **Improvements**
275
276 - Allow usage of urllib3's Retry object with HTTPAdapters (#2216)
277 - The ``iter_lines`` method on a response now accepts a delimiter with which
278 to split the content (#2295)
279
280 **Behavioural Changes**
281
282 - Add deprecation warnings to functions in requests.utils that will be removed
283 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)
286
287 **Bugfixes**
288
289 - 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 successfully
294 (#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)
297
298 **Documentation**
299
300 - 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)
305
306 2.4.3 (2014-10-06)
307 ++++++++++++++++++
308
309 **Bugfixes**
310
311 - Unicode URL improvements for Python 2.
312 - Re-order JSON param for backwards compat.
313 - Automatically defrag authentication schemes from host/pass URIs. (`#2249 <http s://github.com/kennethreitz/requests/issues/2249>`_)
314
315
316 2.4.2 (2014-10-05)
317 ++++++++++++++++++
318
319 **Improvements**
320
321 - FINALLY! Add json parameter for uploads! (`#2258 <https://github.com/kennethre itz/requests/pull/2258>`_)
322 - Support for bytestring URLs on Python 3.x (`#2238 <https://github.com/kennethr eitz/requests/pull/2238>`_)
323
324 **Bugfixes**
325
326 - Avoid getting stuck in a loop (`#2244 <https://github.com/kennethreitz/request s/pull/2244>`_)
327 - Multiple calls to iter* fail with unhelpful error. (`#2240 <https://github.com /kennethreitz/requests/issues/2240>`_, `#2241 <https://github.com/kennethreitz/r equests/issues/2241>`_)
328
329 **Documentation**
330
331 - Correct redirection introduction (`#2245 <https://github.com/kennethreitz/requ ests/pull/2245/>`_)
332 - Added example of how to send multiple files in one request. (`#2227 <https://g ithub.com/kennethreitz/requests/pull/2227/>`_)
333 - Clarify how to pass a custom set of CAs (`#2248 <https://github.com/kennethrei tz/requests/pull/2248/>`_)
334
335
336
337 2.4.1 (2014-09-09)
338 ++++++++++++++++++
339
340 - 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 ProtocolError
343 - Bugfix for responses that attempt to redirect to themselves forever (wtf?).
344
345
346 2.4.0 (2014-08-29)
347 ++++++++++++++++++
348
349 **Behavioral Changes**
350
351 - ``Connection: keep-alive`` header is now sent automatically.
352
353 **Improvements**
354
355 - Support for connect timeouts! Timeout now accepts a tuple (connect, read) whic h 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.
360
361
362 2.3.0 (2014-05-16)
363 ++++++++++++++++++
364
365 **API Changes**
366
367 - New ``Response`` property ``is_redirect``, which is true when the
368 library could have processed this response as a redirection (whether
369 or not it actually did).
370 - The ``timeout`` parameter now affects requests with both ``stream=True`` and
371 ``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 normal
375 dictionary when references as string or viewed in the interpreter.
376
377 **Bugfixes**
378
379 - 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 same
386 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.
390
391 2.2.1 (2014-01-23)
392 ++++++++++++++++++
393
394 **Bugfixes**
395
396 - Fixes incorrect parsing of proxy credentials that contain a literal or encoded '#' character.
397 - Assorted urllib3 fixes.
398
399 2.2.0 (2014-01-09)
400 ++++++++++++++++++
401
402 **API Changes**
403
404 - New exception: ``ContentDecodingError``. Raised instead of ``urllib3``
405 ``DecodeError`` exceptions.
406
407 **Bugfixes**
408
409 - Avoid many many exceptions from the buggy implementation of ``proxy_bypass`` o n 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.
415
416 2.1.0 (2013-12-05)
417 ++++++++++++++++++
418
419 - Updated CA Bundle, of course.
420 - Cookies set on individual Requests through a ``Session`` (e.g. via ``Session.g et()``) are no longer persisted to the ``Session``.
421 - Clean up connections when we hit problems during chunked upload, rather than l eaking them.
422 - Return connections to the pool when a chunked upload is successful, rather tha n 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 rec eived.
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 variable
430 - 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.
439
440 2.0.1 (2013-10-24)
441 ++++++++++++++++++
442
443 - Updated included CA Bundle with new mistrusts and automated process for the fu ture
444 - Added MD5-sess to Digest Auth
445 - 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 Co nnectionError.
450 - Updated internal urllib3 and chardet.
451
452 2.0.0 (2013-09-24)
453 ++++++++++++++++++
454
455 **API Changes:**
456
457 - 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`` exception
460 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()``. This
465 method updates a ``Request`` object with the data (e.g. cookies) stored on
466 the ``Session``.
467 - Added new method to ``Session`` objects: ``Session.prepare_request()``. This
468 method updates and prepares a ``Request`` object, and returns the
469 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 encoding
473 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 uses
477 ``"already_reported"``.
478 - HTTP 226 reason added (``"im_used"``).
479
480 **Bugfixes:**
481
482 - Vastly improved proxy support, including the CONNECT verb. Special thanks to
483 the many contributors who worked towards this improvement.
484 - Cookies are now properly managed when 401 authentication responses are
485 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.
500
501 1.2.3 (2013-05-25)
502 ++++++++++++++++++
503
504 - Simple packaging fix
505
506
507 1.2.2 (2013-05-23)
508 ++++++++++++++++++
509
510 - Simple packaging fix
511
512
513 1.2.1 (2013-05-20)
514 ++++++++++++++++++
515
516 - 301 and 302 redirects now change the verb to GET for all verbs, not just
517 POST, improving browser compatibility.
518 - Python 3.3.2 compatibility
519 - Always percent-encode location headers
520 - Fix connection adapter matching to be most-specific first
521 - new argument to the default connection adapter for passing a block argument
522 - prevent a KeyError when there's no link headers
523
524 1.2.0 (2013-03-31)
525 ++++++++++++++++++
526
527 - Fixed cookies on sessions and on requests
528 - Significantly change how hooks are dispatched - hooks now receive all the
529 arguments specified by the user when making a request so hooks can make a
530 secondary request with the same parameters. This is especially necessary for
531 authentication handler authors
532 - certifi support was removed
533 - Fixed bug where using OAuth 1 with body ``signature_type`` sent no data
534 - Major proxy work thanks to @Lukasa including parsing of proxy authentication
535 from the proxy url
536 - Fix DigestAuth handling too many 401s
537 - Update vendored urllib3 to include SSL bug fixes
538 - Allow keyword arguments to be passed to ``json.loads()`` via the
539 ``Response.json()`` method
540 - Don't send ``Content-Length`` header by default on ``GET`` or ``HEAD``
541 requests
542 - Add ``elapsed`` attribute to ``Response`` objects to time how long a request
543 took.
544 - Fix ``RequestsCookieJar``
545 - Sessions and Adapters are now picklable, i.e., can be used with the
546 multiprocessing library
547 - Update charade to version 1.0.3
548
549 The change in how hooks are dispatched will likely cause a great deal of
550 issues.
551
552 1.1.0 (2013-01-10)
553 ++++++++++++++++++
554
555 - CHUNKED REQUESTS
556 - Support for iterable response bodies
557 - Assume servers persist redirect params
558 - Allow explicit content types to be specified for file data
559 - Make merge_kwargs case-insensitive when looking up keys
560
561 1.0.3 (2012-12-18)
562 ++++++++++++++++++
563
564 - Fix file upload encoding bug
565 - Fix cookie behavior
566
567 1.0.2 (2012-12-17)
568 ++++++++++++++++++
569
570 - Proxy fix for HTTPAdapter.
571
572 1.0.1 (2012-12-17)
573 ++++++++++++++++++
574
575 - Cert verification exception bug.
576 - Proxy fix for HTTPAdapter.
577
578 1.0.0 (2012-12-17)
579 ++++++++++++++++++
580
581 - Massive Refactor and Simplification
582 - Switch to Apache 2.0 license
583 - Swappable Connection Adapters
584 - Mountable Connection Adapters
585 - Mutable ProcessedRequest chain
586 - /s/prefetch/stream
587 - Removal of all configuration
588 - Standard library logging
589 - Make Response.json() callable, not property.
590 - Usage of new charade project, which provides python 2 and 3 simultaneous chard et.
591 - Removal of all hooks except 'response'
592 - Removal of all authentication helpers (OAuth, Kerberos)
593
594 This is not a backwards compatible change.
595
596 0.14.2 (2012-10-27)
597 +++++++++++++++++++
598
599 - Improved mime-compatible JSON handling
600 - Proxy fixes
601 - Path hack fixes
602 - Case-Insensitive Content-Encoding headers
603 - Support for CJK parameters in form posts
604
605
606 0.14.1 (2012-10-01)
607 +++++++++++++++++++
608
609 - Python 3.3 Compatibility
610 - Simply default accept-encoding
611 - Bugfixes
612
613
614 0.14.0 (2012-09-02)
615 ++++++++++++++++++++
616
617 - No more iter_content errors if already downloaded.
618
619 0.13.9 (2012-08-25)
620 +++++++++++++++++++
621
622 - Fix for OAuth + POSTs
623 - Remove exception eating from dispatch_hook
624 - General bugfixes
625
626 0.13.8 (2012-08-21)
627 +++++++++++++++++++
628
629 - Incredible Link header support :)
630
631 0.13.7 (2012-08-19)
632 +++++++++++++++++++
633
634 - 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.
640
641 0.13.6 (2012-08-06)
642 +++++++++++++++++++
643
644 - Long awaited fix for hanging connections!
645
646 0.13.5 (2012-07-27)
647 +++++++++++++++++++
648
649 - Packaging fix
650
651 0.13.4 (2012-07-27)
652 +++++++++++++++++++
653
654 - GSSAPI/Kerberos authentication!
655 - App Engine 2.7 Fixes!
656 - Fix leaking connections (from urllib3 update)
657 - OAuthlib path hack fix
658 - OAuthlib URL parameters fix.
659
660 0.13.3 (2012-07-12)
661 +++++++++++++++++++
662
663 - 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=False
668
669 0.13.2 (2012-06-28)
670 +++++++++++++++++++
671
672 - Zero dependencies (once again)!
673 - New: Response.reason
674 - Sign querystring parameters in OAuth 1.0
675 - Client certificates no longer ignored when verify=False
676 - Add openSUSE certificate support
677
678 0.13.1 (2012-06-07)
679 +++++++++++++++++++
680
681 - 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.
684
685 0.13.0 (2012-05-29)
686 +++++++++++++++++++
687
688 - Removal of Requests.async in favor of `grequests <https://github.com/kennethre itz/grequests>`_
689 - Allow disabling of cookie persistence.
690 - New implementation of safe_mode
691 - cookies.get now supports default argument
692 - Session cookies not saved when Session.request is called with return_response= False
693 - Env: no_proxy support.
694 - RequestsCookieJar improvements.
695 - Various bug fixes.
696
697 0.12.1 (2012-05-08)
698 +++++++++++++++++++
699
700 - 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.
705
706 0.12.0 (2012-05-02)
707 +++++++++++++++++++
708
709 - 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.
717
718 0.11.2 (2012-04-22)
719 +++++++++++++++++++
720
721 - 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.
727
728 0.11.1 (2012-03-30)
729 +++++++++++++++++++
730
731 * 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.
733
734
735 0.11.0 (2012-03-14)
736 +++++++++++++++++++
737
738 * Private SSL Certificate support
739 * Remove select.poll from Gevent monkeypatching
740 * Remove redundant generator for chunked transfer encoding
741 * Fix: Response.ok raises Timeout Exception in safe_mode
742
743 0.10.8 (2012-03-09)
744 +++++++++++++++++++
745
746 * Generate chunked ValueError fix
747 * Proxy configuration by environment variables
748 * Simplification of iter_lines.
749 * New `trust_env` configuration for disabling system/environment hints.
750 * Suppress cookie errors.
751
752 0.10.7 (2012-03-07)
753 +++++++++++++++++++
754
755 * `encode_uri` = False
756
757 0.10.6 (2012-02-25)
758 +++++++++++++++++++
759
760 * Allow '=' in cookies.
761
762 0.10.5 (2012-02-25)
763 +++++++++++++++++++
764
765 * Response body with 0 content-length fix.
766 * New async.imap.
767 * Don't fail on netrc.
768
769
770 0.10.4 (2012-02-20)
771 +++++++++++++++++++
772
773 * Honor netrc.
774
775 0.10.3 (2012-02-20)
776 +++++++++++++++++++
777
778 * 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.
782
783 0.10.2 (2012-01-15)
784 +++++++++++++++++++
785
786 * Vastly improved URL quoting.
787 * Additional allowed cookie key values.
788 * Attempted fix for "Too many open files" Error
789 * 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.
794
795
796 0.10.1 (2012-01-23)
797 +++++++++++++++++++
798
799 * PYTHON 3 SUPPORT!
800 * Dropped 2.5 Support. (*Backwards Incompatible*)
801
802 0.10.0 (2012-01-21)
803 +++++++++++++++++++
804
805 * ``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, ``Respo nse.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.
813
814 0.9.3 (2012-01-18)
815 ++++++++++++++++++
816
817 * SSL verify=False bugfix (apparent on windows machines).
818
819 0.9.2 (2012-01-18)
820 ++++++++++++++++++
821
822 * 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.
830
831
832 0.9.1 (2012-01-06)
833 ++++++++++++++++++
834
835 * danger_mode for automatic Response.raise_for_status()
836 * Response.iter_lines refactor
837
838 0.9.0 (2011-12-28)
839 ++++++++++++++++++
840
841 * verify ssl is default.
842
843
844 0.8.9 (2011-12-28)
845 ++++++++++++++++++
846
847 * Packaging fix.
848
849
850 0.8.8 (2011-12-28)
851 ++++++++++++++++++
852
853 * SSL CERT VERIFICATION!
854 * Release of Cerifi: Mozilla's cert list.
855 * New 'verify' argument for SSL requests.
856 * Urllib3 update.
857
858 0.8.7 (2011-12-24)
859 ++++++++++++++++++
860
861 * iter_lines last-line truncation fix
862 * Force safe_mode for async requests
863 * Handle safe_mode exceptions more consistently
864 * Fix iteration on null responses in safe_mode
865
866 0.8.6 (2011-12-18)
867 ++++++++++++++++++
868
869 * Socket timeout fixes.
870 * Proxy Authorization support.
871
872 0.8.5 (2011-12-14)
873 ++++++++++++++++++
874
875 * Response.iter_lines!
876
877 0.8.4 (2011-12-11)
878 ++++++++++++++++++
879
880 * Prefetch bugfix.
881 * Added license to installed version.
882
883 0.8.3 (2011-11-27)
884 ++++++++++++++++++
885
886 * Converted auth system to use simpler callable objects.
887 * New session parameter to API methods.
888 * Display full URL while logging.
889
890 0.8.2 (2011-11-19)
891 ++++++++++++++++++
892
893 * New Unicode decoding system, based on over-ridable `Response.encoding`.
894 * Proper URL slash-quote handling.
895 * Cookies with ``[``, ``]``, and ``_`` allowed.
896
897 0.8.1 (2011-11-15)
898 ++++++++++++++++++
899
900 * URL Request path fix
901 * Proxy fix.
902 * Timeouts fix.
903
904 0.8.0 (2011-11-13)
905 ++++++++++++++++++
906
907 * Keep-alive support!
908 * Complete removal of Urllib2
909 * Complete removal of Poster
910 * Complete removal of CookieJars
911 * New ConnectionError raising
912 * Safe_mode for error catching
913 * prefetch parameter for request methods
914 * OPTION method
915 * Async pool size throttling
916 * File uploads send real names
917 * Vendored in urllib3
918
919 0.7.6 (2011-11-07)
920 ++++++++++++++++++
921
922 * Digest authentication bugfix (attach query data to path)
923
924 0.7.5 (2011-11-04)
925 ++++++++++++++++++
926
927 * Response.content = None if there was an invalid response.
928 * Redirection auth handling.
929
930 0.7.4 (2011-10-26)
931 ++++++++++++++++++
932
933 * Session Hooks fix.
934
935 0.7.3 (2011-10-23)
936 ++++++++++++++++++
937
938 * Digest Auth fix.
939
940
941 0.7.2 (2011-10-23)
942 ++++++++++++++++++
943
944 * PATCH Fix.
945
946
947 0.7.1 (2011-10-23)
948 ++++++++++++++++++
949
950 * Move away from urllib2 authentication handling.
951 * Fully Remove AuthManager, AuthObject, &c.
952 * New tuple-based auth system with handler callbacks.
953
954
955 0.7.0 (2011-10-22)
956 ++++++++++++++++++
957
958 * Sessions are now the primary interface.
959 * Deprecated InvalidMethodException.
960 * PATCH fix.
961 * New config system (no more global settings).
962
963
964 0.6.6 (2011-10-19)
965 ++++++++++++++++++
966
967 * Session parameter bugfix (params merging).
968
969
970 0.6.5 (2011-10-18)
971 ++++++++++++++++++
972
973 * Offline (fast) test suite.
974 * Session dictionary argument merging.
975
976
977 0.6.4 (2011-10-13)
978 ++++++++++++++++++
979
980 * 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.
985
986
987 0.6.3 (2011-10-13)
988 ++++++++++++++++++
989
990 * Beautiful ``requests.async`` module, for making async requests w/ gevent.
991
992
993 0.6.2 (2011-10-09)
994 ++++++++++++++++++
995
996 * GET/HEAD obeys allow_redirects=False.
997
998
999 0.6.1 (2011-08-20)
1000 ++++++++++++++++++
1001
1002 * Enhanced status codes experience ``\o/``
1003 * Set a maximum number of redirects (``settings.max_redirects``)
1004 * Full Unicode URL support
1005 * Support for protocol-less redirects.
1006 * Allow for arbitrary request types.
1007 * Bugfixes
1008
1009
1010 0.6.0 (2011-08-17)
1011 ++++++++++++++++++
1012
1013 * New callback hook system
1014 * New persistent sessions object and context manager
1015 * Transparent Dict-cookie handling
1016 * Status code reference object
1017 * Removed Response.cached
1018 * Added Response.request
1019 * All args are kwargs
1020 * Relative redirect support
1021 * HTTPError handling improvements
1022 * Improved https testing
1023 * Bugfixes
1024
1025
1026 0.5.1 (2011-07-23)
1027 ++++++++++++++++++
1028
1029 * International Domain Name Support!
1030 * Access headers without fetching entire body (``read()``)
1031 * Use lists as dicts for parameters
1032 * Add Forced Basic Authentication
1033 * Forced Basic is default authentication type
1034 * ``python-requests.org`` default User-Agent header
1035 * CaseInsensitiveDict lower-case caching
1036 * Response.history bugfix
1037
1038
1039 0.5.0 (2011-06-21)
1040 ++++++++++++++++++
1041
1042 * PATCH Support
1043 * Support for Proxies
1044 * HTTPBin Test Suite
1045 * Redirect Fixes
1046 * settings.verbose stream writing
1047 * Querystrings for all methods
1048 * URLErrors (Connection Refused, Timeout, Invalid URLs) are treated as explicitl y raised
1049 ``r.requests.get('hwe://blah'); r.raise_for_status()``
1050
1051
1052 0.4.1 (2011-05-22)
1053 ++++++++++++++++++
1054
1055 * Improved Redirection Handling
1056 * New 'allow_redirects' param for following non-GET/HEAD Redirects
1057 * Settings module refactoring
1058
1059
1060 0.4.0 (2011-05-15)
1061 ++++++++++++++++++
1062
1063 * Response.history: list of redirected responses
1064 * Case-Insensitive Header Dictionaries!
1065 * Unicode URLs
1066
1067
1068 0.3.4 (2011-05-14)
1069 ++++++++++++++++++
1070
1071 * Urllib2 HTTPAuthentication Recursion fix (Basic/Digest)
1072 * Internal Refactor
1073 * Bytes data upload Bugfix
1074
1075
1076
1077 0.3.3 (2011-05-12)
1078 ++++++++++++++++++
1079
1080 * Request timeouts
1081 * Unicode url-encoded data
1082 * Settings context manager and module
1083
1084
1085 0.3.2 (2011-04-15)
1086 ++++++++++++++++++
1087
1088 * Automatic Decompression of GZip Encoded Content
1089 * AutoAuth Support for Tupled HTTP Auth
1090
1091
1092 0.3.1 (2011-04-01)
1093 ++++++++++++++++++
1094
1095 * Cookie Changes
1096 * Response.read()
1097 * Poster fix
1098
1099
1100 0.3.0 (2011-02-25)
1101 ++++++++++++++++++
1102
1103 * Automatic Authentication API Change
1104 * Smarter Query URL Parameterization
1105 * Allow file uploads and POST data together
1106 * New Authentication Manager System
1107 - Simpler Basic HTTP System
1108 - Supports all build-in urllib2 Auths
1109 - Allows for custom Auth Handlers
1110
1111
1112 0.2.4 (2011-02-19)
1113 ++++++++++++++++++
1114
1115 * Python 2.5 Support
1116 * PyPy-c v1.4 Support
1117 * Auto-Authentication tests
1118 * Improved Request object constructor
1119
1120 0.2.3 (2011-02-15)
1121 ++++++++++++++++++
1122
1123 * New HTTPHandling Methods
1124 - 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)
1128
1129
1130 0.2.2 (2011-02-14)
1131 ++++++++++++++++++
1132
1133 * Still handles request in the event of an HTTPError. (Issue #2)
1134 * Eventlet and Gevent Monkeypatch support.
1135 * Cookie Support (Issue #1)
1136
1137
1138 0.2.1 (2011-02-14)
1139 ++++++++++++++++++
1140
1141 * Added file attribute to POST and PUT requests for multipart-encode file upload s.
1142 * Added Request.url attribute for context and redirects
1143
1144
1145 0.2.0 (2011-02-14)
1146 ++++++++++++++++++
1147
1148 * Birth!
1149
1150
1151 0.0.1 (2011-02-13)
1152 ++++++++++++++++++
1153
1154 * Frustration
1155 * Conception
1156
OLDNEW
« no previous file with comments | « recipe_engine/third_party/requests/CONTRIBUTING.md ('k') | recipe_engine/third_party/requests/LICENSE » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698