pyorbbec 2.4.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1982 @@
1
+ Release History
2
+ ===============
3
+
4
+ dev
5
+ ---
6
+
7
+ - \[Short description of non-trivial change.\]
8
+
9
+ 2.32.3 (2024-05-29)
10
+ -------------------
11
+
12
+ **Bugfixes**
13
+ - Fixed bug breaking the ability to specify custom SSLContexts in sub-classes of
14
+ HTTPAdapter. (#6716)
15
+ - Fixed issue where Requests started failing to run on Python versions compiled
16
+ without the `ssl` module. (#6724)
17
+
18
+ 2.32.2 (2024-05-21)
19
+ -------------------
20
+
21
+ **Deprecations**
22
+ - To provide a more stable migration for custom HTTPAdapters impacted
23
+ by the CVE changes in 2.32.0, we've renamed `_get_connection` to
24
+ a new public API, `get_connection_with_tls_context`. Existing custom
25
+ HTTPAdapters will need to migrate their code to use this new API.
26
+ `get_connection` is considered deprecated in all versions of Requests>=2.32.0.
27
+
28
+ A minimal (2-line) example has been provided in the linked PR to ease
29
+ migration, but we strongly urge users to evaluate if their custom adapter
30
+ is subject to the same issue described in CVE-2024-35195. (#6710)
31
+
32
+ 2.32.1 (2024-05-20)
33
+ -------------------
34
+
35
+ **Bugfixes**
36
+ - Add missing test certs to the sdist distributed on PyPI.
37
+
38
+
39
+ 2.32.0 (2024-05-20)
40
+ -------------------
41
+
42
+ **Security**
43
+ - Fixed an issue where setting `verify=False` on the first request from a
44
+ Session will cause subsequent requests to the _same origin_ to also ignore
45
+ cert verification, regardless of the value of `verify`.
46
+ (https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56)
47
+
48
+ **Improvements**
49
+ - `verify=True` now reuses a global SSLContext which should improve
50
+ request time variance between first and subsequent requests. It should
51
+ also minimize certificate load time on Windows systems when using a Python
52
+ version built with OpenSSL 3.x. (#6667)
53
+ - Requests now supports optional use of character detection
54
+ (`chardet` or `charset_normalizer`) when repackaged or vendored.
55
+ This enables `pip` and other projects to minimize their vendoring
56
+ surface area. The `Response.text()` and `apparent_encoding` APIs
57
+ will default to `utf-8` if neither library is present. (#6702)
58
+
59
+ **Bugfixes**
60
+ - Fixed bug in length detection where emoji length was incorrectly
61
+ calculated in the request content-length. (#6589)
62
+ - Fixed deserialization bug in JSONDecodeError. (#6629)
63
+ - Fixed bug where an extra leading `/` (path separator) could lead
64
+ urllib3 to unnecessarily reparse the request URI. (#6644)
65
+
66
+ **Deprecations**
67
+
68
+ - Requests has officially added support for CPython 3.12 (#6503)
69
+ - Requests has officially added support for PyPy 3.9 and 3.10 (#6641)
70
+ - Requests has officially dropped support for CPython 3.7 (#6642)
71
+ - Requests has officially dropped support for PyPy 3.7 and 3.8 (#6641)
72
+
73
+ **Documentation**
74
+ - Various typo fixes and doc improvements.
75
+
76
+ **Packaging**
77
+ - Requests has started adopting some modern packaging practices.
78
+ The source files for the projects (formerly `requests`) is now located
79
+ in `src/requests` in the Requests sdist. (#6506)
80
+ - Starting in Requests 2.33.0, Requests will migrate to a PEP 517 build system
81
+ using `hatchling`. This should not impact the average user, but extremely old
82
+ versions of packaging utilities may have issues with the new packaging format.
83
+
84
+
85
+ 2.31.0 (2023-05-22)
86
+ -------------------
87
+
88
+ **Security**
89
+ - Versions of Requests between v2.3.0 and v2.30.0 are vulnerable to potential
90
+ forwarding of `Proxy-Authorization` headers to destination servers when
91
+ following HTTPS redirects.
92
+
93
+ When proxies are defined with user info (`https://user:pass@proxy:8080`), Requests
94
+ will construct a `Proxy-Authorization` header that is attached to the request to
95
+ authenticate with the proxy.
96
+
97
+ In cases where Requests receives a redirect response, it previously reattached
98
+ the `Proxy-Authorization` header incorrectly, resulting in the value being
99
+ sent through the tunneled connection to the destination server. Users who rely on
100
+ defining their proxy credentials in the URL are *strongly* encouraged to upgrade
101
+ to Requests 2.31.0+ to prevent unintentional leakage and rotate their proxy
102
+ credentials once the change has been fully deployed.
103
+
104
+ Users who do not use a proxy or do not supply their proxy credentials through
105
+ the user information portion of their proxy URL are not subject to this
106
+ vulnerability.
107
+
108
+ Full details can be read in our [Github Security Advisory](https://github.com/psf/requests/security/advisories/GHSA-j8r2-6x86-q33q)
109
+ and [CVE-2023-32681](https://nvd.nist.gov/vuln/detail/CVE-2023-32681).
110
+
111
+
112
+ 2.30.0 (2023-05-03)
113
+ -------------------
114
+
115
+ **Dependencies**
116
+ - ⚠️ Added support for urllib3 2.0. ⚠️
117
+
118
+ This may contain minor breaking changes so we advise careful testing and
119
+ reviewing https://urllib3.readthedocs.io/en/latest/v2-migration-guide.html
120
+ prior to upgrading.
121
+
122
+ Users who wish to stay on urllib3 1.x can pin to `urllib3<2`.
123
+
124
+ 2.29.0 (2023-04-26)
125
+ -------------------
126
+
127
+ **Improvements**
128
+
129
+ - Requests now defers chunked requests to the urllib3 implementation to improve
130
+ standardization. (#6226)
131
+ - Requests relaxes header component requirements to support bytes/str subclasses. (#6356)
132
+
133
+ 2.28.2 (2023-01-12)
134
+ -------------------
135
+
136
+ **Dependencies**
137
+
138
+ - Requests now supports charset\_normalizer 3.x. (#6261)
139
+
140
+ **Bugfixes**
141
+
142
+ - Updated MissingSchema exception to suggest https scheme rather than http. (#6188)
143
+
144
+ 2.28.1 (2022-06-29)
145
+ -------------------
146
+
147
+ **Improvements**
148
+
149
+ - Speed optimization in `iter_content` with transition to `yield from`. (#6170)
150
+
151
+ **Dependencies**
152
+
153
+ - Added support for chardet 5.0.0 (#6179)
154
+ - Added support for charset-normalizer 2.1.0 (#6169)
155
+
156
+ 2.28.0 (2022-06-09)
157
+ -------------------
158
+
159
+ **Deprecations**
160
+
161
+ - ⚠️ Requests has officially dropped support for Python 2.7. ⚠️ (#6091)
162
+ - Requests has officially dropped support for Python 3.6 (including pypy3.6). (#6091)
163
+
164
+ **Improvements**
165
+
166
+ - Wrap JSON parsing issues in Request's JSONDecodeError for payloads without
167
+ an encoding to make `json()` API consistent. (#6097)
168
+ - Parse header components consistently, raising an InvalidHeader error in
169
+ all invalid cases. (#6154)
170
+ - Added provisional 3.11 support with current beta build. (#6155)
171
+ - Requests got a makeover and we decided to paint it black. (#6095)
172
+
173
+ **Bugfixes**
174
+
175
+ - Fixed bug where setting `CURL_CA_BUNDLE` to an empty string would disable
176
+ cert verification. All Requests 2.x versions before 2.28.0 are affected. (#6074)
177
+ - Fixed urllib3 exception leak, wrapping `urllib3.exceptions.SSLError` with
178
+ `requests.exceptions.SSLError` for `content` and `iter_content`. (#6057)
179
+ - Fixed issue where invalid Windows registry entries caused proxy resolution
180
+ to raise an exception rather than ignoring the entry. (#6149)
181
+ - Fixed issue where entire payload could be included in the error message for
182
+ JSONDecodeError. (#6036)
183
+
184
+ 2.27.1 (2022-01-05)
185
+ -------------------
186
+
187
+ **Bugfixes**
188
+
189
+ - Fixed parsing issue that resulted in the `auth` component being
190
+ dropped from proxy URLs. (#6028)
191
+
192
+ 2.27.0 (2022-01-03)
193
+ -------------------
194
+
195
+ **Improvements**
196
+
197
+ - Officially added support for Python 3.10. (#5928)
198
+
199
+ - Added a `requests.exceptions.JSONDecodeError` to unify JSON exceptions between
200
+ Python 2 and 3. This gets raised in the `response.json()` method, and is
201
+ backwards compatible as it inherits from previously thrown exceptions.
202
+ Can be caught from `requests.exceptions.RequestException` as well. (#5856)
203
+
204
+ - Improved error text for misnamed `InvalidSchema` and `MissingSchema`
205
+ exceptions. This is a temporary fix until exceptions can be renamed
206
+ (Schema->Scheme). (#6017)
207
+
208
+ - Improved proxy parsing for proxy URLs missing a scheme. This will address
209
+ recent changes to `urlparse` in Python 3.9+. (#5917)
210
+
211
+ **Bugfixes**
212
+
213
+ - Fixed defect in `extract_zipped_paths` which could result in an infinite loop
214
+ for some paths. (#5851)
215
+
216
+ - Fixed handling for `AttributeError` when calculating length of files obtained
217
+ by `Tarfile.extractfile()`. (#5239)
218
+
219
+ - Fixed urllib3 exception leak, wrapping `urllib3.exceptions.InvalidHeader` with
220
+ `requests.exceptions.InvalidHeader`. (#5914)
221
+
222
+ - Fixed bug where two Host headers were sent for chunked requests. (#5391)
223
+
224
+ - Fixed regression in Requests 2.26.0 where `Proxy-Authorization` was
225
+ incorrectly stripped from all requests sent with `Session.send`. (#5924)
226
+
227
+ - Fixed performance regression in 2.26.0 for hosts with a large number of
228
+ proxies available in the environment. (#5924)
229
+
230
+ - Fixed idna exception leak, wrapping `UnicodeError` with
231
+ `requests.exceptions.InvalidURL` for URLs with a leading dot (.) in the
232
+ domain. (#5414)
233
+
234
+ **Deprecations**
235
+
236
+ - Requests support for Python 2.7 and 3.6 will be ending in 2022. While we
237
+ don't have exact dates, Requests 2.27.x is likely to be the last release
238
+ series providing support.
239
+
240
+ 2.26.0 (2021-07-13)
241
+ -------------------
242
+
243
+ **Improvements**
244
+
245
+ - Requests now supports Brotli compression, if either the `brotli` or
246
+ `brotlicffi` package is installed. (#5783)
247
+
248
+ - `Session.send` now correctly resolves proxy configurations from both
249
+ the Session and Request. Behavior now matches `Session.request`. (#5681)
250
+
251
+ **Bugfixes**
252
+
253
+ - Fixed a race condition in zip extraction when using Requests in parallel
254
+ from zip archive. (#5707)
255
+
256
+ **Dependencies**
257
+
258
+ - Instead of `chardet`, use the MIT-licensed `charset_normalizer` for Python3
259
+ to remove license ambiguity for projects bundling requests. If `chardet`
260
+ is already installed on your machine it will be used instead of `charset_normalizer`
261
+ to keep backwards compatibility. (#5797)
262
+
263
+ You can also install `chardet` while installing requests by
264
+ specifying `[use_chardet_on_py3]` extra as follows:
265
+
266
+ ```shell
267
+ pip install "requests[use_chardet_on_py3]"
268
+ ```
269
+
270
+ Python2 still depends upon the `chardet` module.
271
+
272
+ - Requests now supports `idna` 3.x on Python 3. `idna` 2.x will continue to
273
+ be used on Python 2 installations. (#5711)
274
+
275
+ **Deprecations**
276
+
277
+ - The `requests[security]` extra has been converted to a no-op install.
278
+ PyOpenSSL is no longer the recommended secure option for Requests. (#5867)
279
+
280
+ - Requests has officially dropped support for Python 3.5. (#5867)
281
+
282
+ 2.25.1 (2020-12-16)
283
+ -------------------
284
+
285
+ **Bugfixes**
286
+
287
+ - Requests now treats `application/json` as `utf8` by default. Resolving
288
+ inconsistencies between `r.text` and `r.json` output. (#5673)
289
+
290
+ **Dependencies**
291
+
292
+ - Requests now supports chardet v4.x.
293
+
294
+ 2.25.0 (2020-11-11)
295
+ -------------------
296
+
297
+ **Improvements**
298
+
299
+ - Added support for NETRC environment variable. (#5643)
300
+
301
+ **Dependencies**
302
+
303
+ - Requests now supports urllib3 v1.26.
304
+
305
+ **Deprecations**
306
+
307
+ - Requests v2.25.x will be the last release series with support for Python 3.5.
308
+ - The `requests[security]` extra is officially deprecated and will be removed
309
+ in Requests v2.26.0.
310
+
311
+ 2.24.0 (2020-06-17)
312
+ -------------------
313
+
314
+ **Improvements**
315
+
316
+ - pyOpenSSL TLS implementation is now only used if Python
317
+ either doesn't have an `ssl` module or doesn't support
318
+ SNI. Previously pyOpenSSL was unconditionally used if available.
319
+ This applies even if pyOpenSSL is installed via the
320
+ `requests[security]` extra (#5443)
321
+
322
+ - Redirect resolution should now only occur when
323
+ `allow_redirects` is True. (#5492)
324
+
325
+ - No longer perform unnecessary Content-Length calculation for
326
+ requests that won't use it. (#5496)
327
+
328
+ 2.23.0 (2020-02-19)
329
+ -------------------
330
+
331
+ **Improvements**
332
+
333
+ - Remove defunct reference to `prefetch` in Session `__attrs__` (#5110)
334
+
335
+ **Bugfixes**
336
+
337
+ - Requests no longer outputs password in basic auth usage warning. (#5099)
338
+
339
+ **Dependencies**
340
+
341
+ - Pinning for `chardet` and `idna` now uses major version instead of minor.
342
+ This hopefully reduces the need for releases every time a dependency is updated.
343
+
344
+ 2.22.0 (2019-05-15)
345
+ -------------------
346
+
347
+ **Dependencies**
348
+
349
+ - Requests now supports urllib3 v1.25.2.
350
+ (note: 1.25.0 and 1.25.1 are incompatible)
351
+
352
+ **Deprecations**
353
+
354
+ - Requests has officially stopped support for Python 3.4.
355
+
356
+ 2.21.0 (2018-12-10)
357
+ -------------------
358
+
359
+ **Dependencies**
360
+
361
+ - Requests now supports idna v2.8.
362
+
363
+ 2.20.1 (2018-11-08)
364
+ -------------------
365
+
366
+ **Bugfixes**
367
+
368
+ - Fixed bug with unintended Authorization header stripping for
369
+ redirects using default ports (http/80, https/443).
370
+
371
+ 2.20.0 (2018-10-18)
372
+ -------------------
373
+
374
+ **Bugfixes**
375
+
376
+ - Content-Type header parsing is now case-insensitive (e.g.
377
+ charset=utf8 v Charset=utf8).
378
+ - Fixed exception leak where certain redirect urls would raise
379
+ uncaught urllib3 exceptions.
380
+ - Requests removes Authorization header from requests redirected
381
+ from https to http on the same hostname. (CVE-2018-18074)
382
+ - `should_bypass_proxies` now handles URIs without hostnames (e.g.
383
+ files).
384
+
385
+ **Dependencies**
386
+
387
+ - Requests now supports urllib3 v1.24.
388
+
389
+ **Deprecations**
390
+
391
+ - Requests has officially stopped support for Python 2.6.
392
+
393
+ 2.19.1 (2018-06-14)
394
+ -------------------
395
+
396
+ **Bugfixes**
397
+
398
+ - Fixed issue where status\_codes.py's `init` function failed trying
399
+ to append to a `__doc__` value of `None`.
400
+
401
+ 2.19.0 (2018-06-12)
402
+ -------------------
403
+
404
+ **Improvements**
405
+
406
+ - Warn user about possible slowdown when using cryptography version
407
+ &lt; 1.3.4
408
+ - Check for invalid host in proxy URL, before forwarding request to
409
+ adapter.
410
+ - Fragments are now properly maintained across redirects. (RFC7231
411
+ 7.1.2)
412
+ - Removed use of cgi module to expedite library load time.
413
+ - Added support for SHA-256 and SHA-512 digest auth algorithms.
414
+ - Minor performance improvement to `Request.content`.
415
+ - Migrate to using collections.abc for 3.7 compatibility.
416
+
417
+ **Bugfixes**
418
+
419
+ - Parsing empty `Link` headers with `parse_header_links()` no longer
420
+ return one bogus entry.
421
+ - Fixed issue where loading the default certificate bundle from a zip
422
+ archive would raise an `IOError`.
423
+ - Fixed issue with unexpected `ImportError` on windows system which do
424
+ not support `winreg` module.
425
+ - DNS resolution in proxy bypass no longer includes the username and
426
+ password in the request. This also fixes the issue of DNS queries
427
+ failing on macOS.
428
+ - Properly normalize adapter prefixes for url comparison.
429
+ - Passing `None` as a file pointer to the `files` param no longer
430
+ raises an exception.
431
+ - Calling `copy` on a `RequestsCookieJar` will now preserve the cookie
432
+ policy correctly.
433
+
434
+ **Dependencies**
435
+
436
+ - We now support idna v2.7.
437
+ - We now support urllib3 v1.23.
438
+
439
+ 2.18.4 (2017-08-15)
440
+ -------------------
441
+
442
+ **Improvements**
443
+
444
+ - Error messages for invalid headers now include the header name for
445
+ easier debugging
446
+
447
+ **Dependencies**
448
+
449
+ - We now support idna v2.6.
450
+
451
+ 2.18.3 (2017-08-02)
452
+ -------------------
453
+
454
+ **Improvements**
455
+
456
+ - Running `$ python -m requests.help` now includes the installed
457
+ version of idna.
458
+
459
+ **Bugfixes**
460
+
461
+ - Fixed issue where Requests would raise `ConnectionError` instead of
462
+ `SSLError` when encountering SSL problems when using urllib3 v1.22.
463
+
464
+ 2.18.2 (2017-07-25)
465
+ -------------------
466
+
467
+ **Bugfixes**
468
+
469
+ - `requests.help` no longer fails on Python 2.6 due to the absence of
470
+ `ssl.OPENSSL_VERSION_NUMBER`.
471
+
472
+ **Dependencies**
473
+
474
+ - We now support urllib3 v1.22.
475
+
476
+ 2.18.1 (2017-06-14)
477
+ -------------------
478
+
479
+ **Bugfixes**
480
+
481
+ - Fix an error in the packaging whereby the `*.whl` contained
482
+ incorrect data that regressed the fix in v2.17.3.
483
+
484
+ 2.18.0 (2017-06-14)
485
+ -------------------
486
+
487
+ **Improvements**
488
+
489
+ - `Response` is now a context manager, so can be used directly in a
490
+ `with` statement without first having to be wrapped by
491
+ `contextlib.closing()`.
492
+
493
+ **Bugfixes**
494
+
495
+ - Resolve installation failure if multiprocessing is not available
496
+ - Resolve tests crash if multiprocessing is not able to determine the
497
+ number of CPU cores
498
+ - Resolve error swallowing in utils set\_environ generator
499
+
500
+ 2.17.3 (2017-05-29)
501
+ -------------------
502
+
503
+ **Improvements**
504
+
505
+ - Improved `packages` namespace identity support, for monkeypatching
506
+ libraries.
507
+
508
+ 2.17.2 (2017-05-29)
509
+ -------------------
510
+
511
+ **Improvements**
512
+
513
+ - Improved `packages` namespace identity support, for monkeypatching
514
+ libraries.
515
+
516
+ 2.17.1 (2017-05-29)
517
+ -------------------
518
+
519
+ **Improvements**
520
+
521
+ - Improved `packages` namespace identity support, for monkeypatching
522
+ libraries.
523
+
524
+ 2.17.0 (2017-05-29)
525
+ -------------------
526
+
527
+ **Improvements**
528
+
529
+ - Removal of the 301 redirect cache. This improves thread-safety.
530
+
531
+ 2.16.5 (2017-05-28)
532
+ -------------------
533
+
534
+ - Improvements to `$ python -m requests.help`.
535
+
536
+ 2.16.4 (2017-05-27)
537
+ -------------------
538
+
539
+ - Introduction of the `$ python -m requests.help` command, for
540
+ debugging with maintainers!
541
+
542
+ 2.16.3 (2017-05-27)
543
+ -------------------
544
+
545
+ - Further restored the `requests.packages` namespace for compatibility
546
+ reasons.
547
+
548
+ 2.16.2 (2017-05-27)
549
+ -------------------
550
+
551
+ - Further restored the `requests.packages` namespace for compatibility
552
+ reasons.
553
+
554
+ No code modification (noted below) should be necessary any longer.
555
+
556
+ 2.16.1 (2017-05-27)
557
+ -------------------
558
+
559
+ - Restored the `requests.packages` namespace for compatibility
560
+ reasons.
561
+ - Bugfix for `urllib3` version parsing.
562
+
563
+ **Note**: code that was written to import against the
564
+ `requests.packages` namespace previously will have to import code that
565
+ rests at this module-level now.
566
+
567
+ For example:
568
+
569
+ from requests.packages.urllib3.poolmanager import PoolManager
570
+
571
+ Will need to be re-written to be:
572
+
573
+ from requests.packages import urllib3
574
+ urllib3.poolmanager.PoolManager
575
+
576
+ Or, even better:
577
+
578
+ from urllib3.poolmanager import PoolManager
579
+
580
+ 2.16.0 (2017-05-26)
581
+ -------------------
582
+
583
+ - Unvendor ALL the things!
584
+
585
+ 2.15.1 (2017-05-26)
586
+ -------------------
587
+
588
+ - Everyone makes mistakes.
589
+
590
+ 2.15.0 (2017-05-26)
591
+ -------------------
592
+
593
+ **Improvements**
594
+
595
+ - Introduction of the `Response.next` property, for getting the next
596
+ `PreparedResponse` from a redirect chain (when
597
+ `allow_redirects=False`).
598
+ - Internal refactoring of `__version__` module.
599
+
600
+ **Bugfixes**
601
+
602
+ - Restored once-optional parameter for
603
+ `requests.utils.get_environ_proxies()`.
604
+
605
+ 2.14.2 (2017-05-10)
606
+ -------------------
607
+
608
+ **Bugfixes**
609
+
610
+ - Changed a less-than to an equal-to and an or in the dependency
611
+ markers to widen compatibility with older setuptools releases.
612
+
613
+ 2.14.1 (2017-05-09)
614
+ -------------------
615
+
616
+ **Bugfixes**
617
+
618
+ - Changed the dependency markers to widen compatibility with older pip
619
+ releases.
620
+
621
+ 2.14.0 (2017-05-09)
622
+ -------------------
623
+
624
+ **Improvements**
625
+
626
+ - It is now possible to pass `no_proxy` as a key to the `proxies`
627
+ dictionary to provide handling similar to the `NO_PROXY` environment
628
+ variable.
629
+ - When users provide invalid paths to certificate bundle files or
630
+ directories Requests now raises `IOError`, rather than failing at
631
+ the time of the HTTPS request with a fairly inscrutable certificate
632
+ validation error.
633
+ - The behavior of `SessionRedirectMixin` was slightly altered.
634
+ `resolve_redirects` will now detect a redirect by calling
635
+ `get_redirect_target(response)` instead of directly querying
636
+ `Response.is_redirect` and `Response.headers['location']`. Advanced
637
+ users will be able to process malformed redirects more easily.
638
+ - Changed the internal calculation of elapsed request time to have
639
+ higher resolution on Windows.
640
+ - Added `win_inet_pton` as conditional dependency for the `[socks]`
641
+ extra on Windows with Python 2.7.
642
+ - Changed the proxy bypass implementation on Windows: the proxy bypass
643
+ check doesn't use forward and reverse DNS requests anymore
644
+ - URLs with schemes that begin with `http` but are not `http` or
645
+ `https` no longer have their host parts forced to lowercase.
646
+
647
+ **Bugfixes**
648
+
649
+ - Much improved handling of non-ASCII `Location` header values in
650
+ redirects. Fewer `UnicodeDecodeErrors` are encountered on Python 2,
651
+ and Python 3 now correctly understands that Latin-1 is unlikely to
652
+ be the correct encoding.
653
+ - If an attempt to `seek` file to find out its length fails, we now
654
+ appropriately handle that by aborting our content-length
655
+ calculations.
656
+ - Restricted `HTTPDigestAuth` to only respond to auth challenges made
657
+ on 4XX responses, rather than to all auth challenges.
658
+ - Fixed some code that was firing `DeprecationWarning` on Python 3.6.
659
+ - The dismayed person emoticon (`/o\\`) no longer has a big head. I'm
660
+ sure this is what you were all worrying about most.
661
+
662
+ **Miscellaneous**
663
+
664
+ - Updated bundled urllib3 to v1.21.1.
665
+ - Updated bundled chardet to v3.0.2.
666
+ - Updated bundled idna to v2.5.
667
+ - Updated bundled certifi to 2017.4.17.
668
+
669
+ 2.13.0 (2017-01-24)
670
+ -------------------
671
+
672
+ **Features**
673
+
674
+ - Only load the `idna` library when we've determined we need it. This
675
+ will save some memory for users.
676
+
677
+ **Miscellaneous**
678
+
679
+ - Updated bundled urllib3 to 1.20.
680
+ - Updated bundled idna to 2.2.
681
+
682
+ 2.12.5 (2017-01-18)
683
+ -------------------
684
+
685
+ **Bugfixes**
686
+
687
+ - Fixed an issue with JSON encoding detection, specifically detecting
688
+ big-endian UTF-32 with BOM.
689
+
690
+ 2.12.4 (2016-12-14)
691
+ -------------------
692
+
693
+ **Bugfixes**
694
+
695
+ - Fixed regression from 2.12.2 where non-string types were rejected in
696
+ the basic auth parameters. While support for this behaviour has been
697
+ re-added, the behaviour is deprecated and will be removed in the
698
+ future.
699
+
700
+ 2.12.3 (2016-12-01)
701
+ -------------------
702
+
703
+ **Bugfixes**
704
+
705
+ - Fixed regression from v2.12.1 for URLs with schemes that begin with
706
+ "http". These URLs have historically been processed as though they
707
+ were HTTP-schemed URLs, and so have had parameters added. This was
708
+ removed in v2.12.2 in an overzealous attempt to resolve problems
709
+ with IDNA-encoding those URLs. This change was reverted: the other
710
+ fixes for IDNA-encoding have been judged to be sufficient to return
711
+ to the behaviour Requests had before v2.12.0.
712
+
713
+ 2.12.2 (2016-11-30)
714
+ -------------------
715
+
716
+ **Bugfixes**
717
+
718
+ - Fixed several issues with IDNA-encoding URLs that are technically
719
+ invalid but which are widely accepted. Requests will now attempt to
720
+ IDNA-encode a URL if it can but, if it fails, and the host contains
721
+ only ASCII characters, it will be passed through optimistically.
722
+ This will allow users to opt-in to using IDNA2003 themselves if they
723
+ want to, and will also allow technically invalid but still common
724
+ hostnames.
725
+ - Fixed an issue where URLs with leading whitespace would raise
726
+ `InvalidSchema` errors.
727
+ - Fixed an issue where some URLs without the HTTP or HTTPS schemes
728
+ would still have HTTP URL preparation applied to them.
729
+ - Fixed an issue where Unicode strings could not be used in basic
730
+ auth.
731
+ - Fixed an issue encountered by some Requests plugins where
732
+ constructing a Response object would cause `Response.content` to
733
+ raise an `AttributeError`.
734
+
735
+ 2.12.1 (2016-11-16)
736
+ -------------------
737
+
738
+ **Bugfixes**
739
+
740
+ - Updated setuptools 'security' extra for the new PyOpenSSL backend in
741
+ urllib3.
742
+
743
+ **Miscellaneous**
744
+
745
+ - Updated bundled urllib3 to 1.19.1.
746
+
747
+ 2.12.0 (2016-11-15)
748
+ -------------------
749
+
750
+ **Improvements**
751
+
752
+ - Updated support for internationalized domain names from IDNA2003 to
753
+ IDNA2008. This updated support is required for several forms of IDNs
754
+ and is mandatory for .de domains.
755
+ - Much improved heuristics for guessing content lengths: Requests will
756
+ no longer read an entire `StringIO` into memory.
757
+ - Much improved logic for recalculating `Content-Length` headers for
758
+ `PreparedRequest` objects.
759
+ - Improved tolerance for file-like objects that have no `tell` method
760
+ but do have a `seek` method.
761
+ - Anything that is a subclass of `Mapping` is now treated like a
762
+ dictionary by the `data=` keyword argument.
763
+ - Requests now tolerates empty passwords in proxy credentials, rather
764
+ than stripping the credentials.
765
+ - If a request is made with a file-like object as the body and that
766
+ request is redirected with a 307 or 308 status code, Requests will
767
+ now attempt to rewind the body object so it can be replayed.
768
+
769
+ **Bugfixes**
770
+
771
+ - When calling `response.close`, the call to `close` will be
772
+ propagated through to non-urllib3 backends.
773
+ - Fixed issue where the `ALL_PROXY` environment variable would be
774
+ preferred over scheme-specific variables like `HTTP_PROXY`.
775
+ - Fixed issue where non-UTF8 reason phrases got severely mangled by
776
+ falling back to decoding using ISO 8859-1 instead.
777
+ - Fixed a bug where Requests would not correctly correlate cookies set
778
+ when using custom Host headers if those Host headers did not use the
779
+ native string type for the platform.
780
+
781
+ **Miscellaneous**
782
+
783
+ - Updated bundled urllib3 to 1.19.
784
+ - Updated bundled certifi certs to 2016.09.26.
785
+
786
+ 2.11.1 (2016-08-17)
787
+ -------------------
788
+
789
+ **Bugfixes**
790
+
791
+ - Fixed a bug when using `iter_content` with `decode_unicode=True` for
792
+ streamed bodies would raise `AttributeError`. This bug was
793
+ introduced in 2.11.
794
+ - Strip Content-Type and Transfer-Encoding headers from the header
795
+ block when following a redirect that transforms the verb from
796
+ POST/PUT to GET.
797
+
798
+ 2.11.0 (2016-08-08)
799
+ -------------------
800
+
801
+ **Improvements**
802
+
803
+ - Added support for the `ALL_PROXY` environment variable.
804
+ - Reject header values that contain leading whitespace or newline
805
+ characters to reduce risk of header smuggling.
806
+
807
+ **Bugfixes**
808
+
809
+ - Fixed occasional `TypeError` when attempting to decode a JSON
810
+ response that occurred in an error case. Now correctly returns a
811
+ `ValueError`.
812
+ - Requests would incorrectly ignore a non-CIDR IP address in the
813
+ `NO_PROXY` environment variables: Requests now treats it as a
814
+ specific IP.
815
+ - Fixed a bug when sending JSON data that could cause us to encounter
816
+ obscure OpenSSL errors in certain network conditions (yes, really).
817
+ - Added type checks to ensure that `iter_content` only accepts
818
+ integers and `None` for chunk sizes.
819
+ - Fixed issue where responses whose body had not been fully consumed
820
+ would have the underlying connection closed but not returned to the
821
+ connection pool, which could cause Requests to hang in situations
822
+ where the `HTTPAdapter` had been configured to use a blocking
823
+ connection pool.
824
+
825
+ **Miscellaneous**
826
+
827
+ - Updated bundled urllib3 to 1.16.
828
+ - Some previous releases accidentally accepted non-strings as
829
+ acceptable header values. This release does not.
830
+
831
+ 2.10.0 (2016-04-29)
832
+ -------------------
833
+
834
+ **New Features**
835
+
836
+ - SOCKS Proxy Support! (requires PySocks;
837
+ `$ pip install requests[socks]`)
838
+
839
+ **Miscellaneous**
840
+
841
+ - Updated bundled urllib3 to 1.15.1.
842
+
843
+ 2.9.2 (2016-04-29)
844
+ ------------------
845
+
846
+ **Improvements**
847
+
848
+ - Change built-in CaseInsensitiveDict (used for headers) to use
849
+ OrderedDict as its underlying datastore.
850
+
851
+ **Bugfixes**
852
+
853
+ - Don't use redirect\_cache if allow\_redirects=False
854
+ - When passed objects that throw exceptions from `tell()`, send them
855
+ via chunked transfer encoding instead of failing.
856
+ - Raise a ProxyError for proxy related connection issues.
857
+
858
+ 2.9.1 (2015-12-21)
859
+ ------------------
860
+
861
+ **Bugfixes**
862
+
863
+ - Resolve regression introduced in 2.9.0 that made it impossible to
864
+ send binary strings as bodies in Python 3.
865
+ - Fixed errors when calculating cookie expiration dates in certain
866
+ locales.
867
+
868
+ **Miscellaneous**
869
+
870
+ - Updated bundled urllib3 to 1.13.1.
871
+
872
+ 2.9.0 (2015-12-15)
873
+ ------------------
874
+
875
+ **Minor Improvements** (Backwards compatible)
876
+
877
+ - The `verify` keyword argument now supports being passed a path to a
878
+ directory of CA certificates, not just a single-file bundle.
879
+ - Warnings are now emitted when sending files opened in text mode.
880
+ - Added the 511 Network Authentication Required status code to the
881
+ status code registry.
882
+
883
+ **Bugfixes**
884
+
885
+ - For file-like objects that are not sought to the very beginning, we
886
+ now send the content length for the number of bytes we will actually
887
+ read, rather than the total size of the file, allowing partial file
888
+ uploads.
889
+ - When uploading file-like objects, if they are empty or have no
890
+ obvious content length we set `Transfer-Encoding: chunked` rather
891
+ than `Content-Length: 0`.
892
+ - We correctly receive the response in buffered mode when uploading
893
+ chunked bodies.
894
+ - We now handle being passed a query string as a bytestring on Python
895
+ 3, by decoding it as UTF-8.
896
+ - Sessions are now closed in all cases (exceptional and not) when
897
+ using the functional API rather than leaking and waiting for the
898
+ garbage collector to clean them up.
899
+ - Correctly handle digest auth headers with a malformed `qop`
900
+ directive that contains no token, by treating it the same as if no
901
+ `qop` directive was provided at all.
902
+ - Minor performance improvements when removing specific cookies by
903
+ name.
904
+
905
+ **Miscellaneous**
906
+
907
+ - Updated urllib3 to 1.13.
908
+
909
+ 2.8.1 (2015-10-13)
910
+ ------------------
911
+
912
+ **Bugfixes**
913
+
914
+ - Update certificate bundle to match `certifi` 2015.9.6.2's weak
915
+ certificate bundle.
916
+ - Fix a bug in 2.8.0 where requests would raise `ConnectTimeout`
917
+ instead of `ConnectionError`
918
+ - When using the PreparedRequest flow, requests will now correctly
919
+ respect the `json` parameter. Broken in 2.8.0.
920
+ - When using the PreparedRequest flow, requests will now correctly
921
+ handle a Unicode-string method name on Python 2. Broken in 2.8.0.
922
+
923
+ 2.8.0 (2015-10-05)
924
+ ------------------
925
+
926
+ **Minor Improvements** (Backwards Compatible)
927
+
928
+ - Requests now supports per-host proxies. This allows the `proxies`
929
+ dictionary to have entries of the form
930
+ `{'<scheme>://<hostname>': '<proxy>'}`. Host-specific proxies will
931
+ be used in preference to the previously-supported scheme-specific
932
+ ones, but the previous syntax will continue to work.
933
+ - `Response.raise_for_status` now prints the URL that failed as part
934
+ of the exception message.
935
+ - `requests.utils.get_netrc_auth` now takes an `raise_errors` kwarg,
936
+ defaulting to `False`. When `True`, errors parsing `.netrc` files
937
+ cause exceptions to be thrown.
938
+ - Change to bundled projects import logic to make it easier to
939
+ unbundle requests downstream.
940
+ - Changed the default User-Agent string to avoid leaking data on
941
+ Linux: now contains only the requests version.
942
+
943
+ **Bugfixes**
944
+
945
+ - The `json` parameter to `post()` and friends will now only be used
946
+ if neither `data` nor `files` are present, consistent with the
947
+ documentation.
948
+ - We now ignore empty fields in the `NO_PROXY` environment variable.
949
+ - Fixed problem where `httplib.BadStatusLine` would get raised if
950
+ combining `stream=True` with `contextlib.closing`.
951
+ - Prevented bugs where we would attempt to return the same connection
952
+ back to the connection pool twice when sending a Chunked body.
953
+ - Miscellaneous minor internal changes.
954
+ - Digest Auth support is now thread safe.
955
+
956
+ **Updates**
957
+
958
+ - Updated urllib3 to 1.12.
959
+
960
+ 2.7.0 (2015-05-03)
961
+ ------------------
962
+
963
+ This is the first release that follows our new release process. For
964
+ more, see [our
965
+ documentation](https://requests.readthedocs.io/en/latest/community/release-process/).
966
+
967
+ **Bugfixes**
968
+
969
+ - Updated urllib3 to 1.10.4, resolving several bugs involving chunked
970
+ transfer encoding and response framing.
971
+
972
+ 2.6.2 (2015-04-23)
973
+ ------------------
974
+
975
+ **Bugfixes**
976
+
977
+ - Fix regression where compressed data that was sent as chunked data
978
+ was not properly decompressed. (\#2561)
979
+
980
+ 2.6.1 (2015-04-22)
981
+ ------------------
982
+
983
+ **Bugfixes**
984
+
985
+ - Remove VendorAlias import machinery introduced in v2.5.2.
986
+ - Simplify the PreparedRequest.prepare API: We no longer require the
987
+ user to pass an empty list to the hooks keyword argument. (c.f.
988
+ \#2552)
989
+ - Resolve redirects now receives and forwards all of the original
990
+ arguments to the adapter. (\#2503)
991
+ - Handle UnicodeDecodeErrors when trying to deal with a unicode URL
992
+ that cannot be encoded in ASCII. (\#2540)
993
+ - Populate the parsed path of the URI field when performing Digest
994
+ Authentication. (\#2426)
995
+ - Copy a PreparedRequest's CookieJar more reliably when it is not an
996
+ instance of RequestsCookieJar. (\#2527)
997
+
998
+ 2.6.0 (2015-03-14)
999
+ ------------------
1000
+
1001
+ **Bugfixes**
1002
+
1003
+ - CVE-2015-2296: Fix handling of cookies on redirect. Previously a
1004
+ cookie without a host value set would use the hostname for the
1005
+ redirected URL exposing requests users to session fixation attacks
1006
+ and potentially cookie stealing. This was disclosed privately by
1007
+ Matthew Daley of [BugFuzz](https://bugfuzz.com). This affects all
1008
+ versions of requests from v2.1.0 to v2.5.3 (inclusive on both ends).
1009
+ - Fix error when requests is an `install_requires` dependency and
1010
+ `python setup.py test` is run. (\#2462)
1011
+ - Fix error when urllib3 is unbundled and requests continues to use
1012
+ the vendored import location.
1013
+ - Include fixes to `urllib3`'s header handling.
1014
+ - Requests' handling of unvendored dependencies is now more
1015
+ restrictive.
1016
+
1017
+ **Features and Improvements**
1018
+
1019
+ - Support bytearrays when passed as parameters in the `files`
1020
+ argument. (\#2468)
1021
+ - Avoid data duplication when creating a request with `str`, `bytes`,
1022
+ or `bytearray` input to the `files` argument.
1023
+
1024
+ 2.5.3 (2015-02-24)
1025
+ ------------------
1026
+
1027
+ **Bugfixes**
1028
+
1029
+ - Revert changes to our vendored certificate bundle. For more context
1030
+ see (\#2455, \#2456, and <https://bugs.python.org/issue23476>)
1031
+
1032
+ 2.5.2 (2015-02-23)
1033
+ ------------------
1034
+
1035
+ **Features and Improvements**
1036
+
1037
+ - Add sha256 fingerprint support.
1038
+ ([shazow/urllib3\#540](https://github.com/shazow/urllib3/pull/540))
1039
+ - Improve the performance of headers.
1040
+ ([shazow/urllib3\#544](https://github.com/shazow/urllib3/pull/544))
1041
+
1042
+ **Bugfixes**
1043
+
1044
+ - Copy pip's import machinery. When downstream redistributors remove
1045
+ requests.packages.urllib3 the import machinery will continue to let
1046
+ those same symbols work. Example usage in requests' documentation
1047
+ and 3rd-party libraries relying on the vendored copies of urllib3
1048
+ will work without having to fallback to the system urllib3.
1049
+ - Attempt to quote parts of the URL on redirect if unquoting and then
1050
+ quoting fails. (\#2356)
1051
+ - Fix filename type check for multipart form-data uploads. (\#2411)
1052
+ - Properly handle the case where a server issuing digest
1053
+ authentication challenges provides both auth and auth-int
1054
+ qop-values. (\#2408)
1055
+ - Fix a socket leak.
1056
+ ([shazow/urllib3\#549](https://github.com/shazow/urllib3/pull/549))
1057
+ - Fix multiple `Set-Cookie` headers properly.
1058
+ ([shazow/urllib3\#534](https://github.com/shazow/urllib3/pull/534))
1059
+ - Disable the built-in hostname verification.
1060
+ ([shazow/urllib3\#526](https://github.com/shazow/urllib3/pull/526))
1061
+ - Fix the behaviour of decoding an exhausted stream.
1062
+ ([shazow/urllib3\#535](https://github.com/shazow/urllib3/pull/535))
1063
+
1064
+ **Security**
1065
+
1066
+ - Pulled in an updated `cacert.pem`.
1067
+ - Drop RC4 from the default cipher list.
1068
+ ([shazow/urllib3\#551](https://github.com/shazow/urllib3/pull/551))
1069
+
1070
+ 2.5.1 (2014-12-23)
1071
+ ------------------
1072
+
1073
+ **Behavioural Changes**
1074
+
1075
+ - Only catch HTTPErrors in raise\_for\_status (\#2382)
1076
+
1077
+ **Bugfixes**
1078
+
1079
+ - Handle LocationParseError from urllib3 (\#2344)
1080
+ - Handle file-like object filenames that are not strings (\#2379)
1081
+ - Unbreak HTTPDigestAuth handler. Allow new nonces to be negotiated
1082
+ (\#2389)
1083
+
1084
+ 2.5.0 (2014-12-01)
1085
+ ------------------
1086
+
1087
+ **Improvements**
1088
+
1089
+ - Allow usage of urllib3's Retry object with HTTPAdapters (\#2216)
1090
+ - The `iter_lines` method on a response now accepts a delimiter with
1091
+ which to split the content (\#2295)
1092
+
1093
+ **Behavioural Changes**
1094
+
1095
+ - Add deprecation warnings to functions in requests.utils that will be
1096
+ removed in 3.0 (\#2309)
1097
+ - Sessions used by the functional API are always closed (\#2326)
1098
+ - Restrict requests to HTTP/1.1 and HTTP/1.0 (stop accepting HTTP/0.9)
1099
+ (\#2323)
1100
+
1101
+ **Bugfixes**
1102
+
1103
+ - Only parse the URL once (\#2353)
1104
+ - Allow Content-Length header to always be overridden (\#2332)
1105
+ - Properly handle files in HTTPDigestAuth (\#2333)
1106
+ - Cap redirect\_cache size to prevent memory abuse (\#2299)
1107
+ - Fix HTTPDigestAuth handling of redirects after authenticating
1108
+ successfully (\#2253)
1109
+ - Fix crash with custom method parameter to Session.request (\#2317)
1110
+ - Fix how Link headers are parsed using the regular expression library
1111
+ (\#2271)
1112
+
1113
+ **Documentation**
1114
+
1115
+ - Add more references for interlinking (\#2348)
1116
+ - Update CSS for theme (\#2290)
1117
+ - Update width of buttons and sidebar (\#2289)
1118
+ - Replace references of Gittip with Gratipay (\#2282)
1119
+ - Add link to changelog in sidebar (\#2273)
1120
+
1121
+ 2.4.3 (2014-10-06)
1122
+ ------------------
1123
+
1124
+ **Bugfixes**
1125
+
1126
+ - Unicode URL improvements for Python 2.
1127
+ - Re-order JSON param for backwards compat.
1128
+ - Automatically defrag authentication schemes from host/pass URIs.
1129
+ ([\#2249](https://github.com/psf/requests/issues/2249))
1130
+
1131
+ 2.4.2 (2014-10-05)
1132
+ ------------------
1133
+
1134
+ **Improvements**
1135
+
1136
+ - FINALLY! Add json parameter for uploads!
1137
+ ([\#2258](https://github.com/psf/requests/pull/2258))
1138
+ - Support for bytestring URLs on Python 3.x
1139
+ ([\#2238](https://github.com/psf/requests/pull/2238))
1140
+
1141
+ **Bugfixes**
1142
+
1143
+ - Avoid getting stuck in a loop
1144
+ ([\#2244](https://github.com/psf/requests/pull/2244))
1145
+ - Multiple calls to iter\* fail with unhelpful error.
1146
+ ([\#2240](https://github.com/psf/requests/issues/2240),
1147
+ [\#2241](https://github.com/psf/requests/issues/2241))
1148
+
1149
+ **Documentation**
1150
+
1151
+ - Correct redirection introduction
1152
+ ([\#2245](https://github.com/psf/requests/pull/2245/))
1153
+ - Added example of how to send multiple files in one request.
1154
+ ([\#2227](https://github.com/psf/requests/pull/2227/))
1155
+ - Clarify how to pass a custom set of CAs
1156
+ ([\#2248](https://github.com/psf/requests/pull/2248/))
1157
+
1158
+ 2.4.1 (2014-09-09)
1159
+ ------------------
1160
+
1161
+ - Now has a "security" package extras set,
1162
+ `$ pip install requests[security]`
1163
+ - Requests will now use Certifi if it is available.
1164
+ - Capture and re-raise urllib3 ProtocolError
1165
+ - Bugfix for responses that attempt to redirect to themselves forever
1166
+ (wtf?).
1167
+
1168
+ 2.4.0 (2014-08-29)
1169
+ ------------------
1170
+
1171
+ **Behavioral Changes**
1172
+
1173
+ - `Connection: keep-alive` header is now sent automatically.
1174
+
1175
+ **Improvements**
1176
+
1177
+ - Support for connect timeouts! Timeout now accepts a tuple (connect,
1178
+ read) which is used to set individual connect and read timeouts.
1179
+ - Allow copying of PreparedRequests without headers/cookies.
1180
+ - Updated bundled urllib3 version.
1181
+ - Refactored settings loading from environment -- new
1182
+ Session.merge\_environment\_settings.
1183
+ - Handle socket errors in iter\_content.
1184
+
1185
+ 2.3.0 (2014-05-16)
1186
+ ------------------
1187
+
1188
+ **API Changes**
1189
+
1190
+ - New `Response` property `is_redirect`, which is true when the
1191
+ library could have processed this response as a redirection (whether
1192
+ or not it actually did).
1193
+ - The `timeout` parameter now affects requests with both `stream=True`
1194
+ and `stream=False` equally.
1195
+ - The change in v2.0.0 to mandate explicit proxy schemes has been
1196
+ reverted. Proxy schemes now default to `http://`.
1197
+ - The `CaseInsensitiveDict` used for HTTP headers now behaves like a
1198
+ normal dictionary when references as string or viewed in the
1199
+ interpreter.
1200
+
1201
+ **Bugfixes**
1202
+
1203
+ - No longer expose Authorization or Proxy-Authorization headers on
1204
+ redirect. Fix CVE-2014-1829 and CVE-2014-1830 respectively.
1205
+ - Authorization is re-evaluated each redirect.
1206
+ - On redirect, pass url as native strings.
1207
+ - Fall-back to autodetected encoding for JSON when Unicode detection
1208
+ fails.
1209
+ - Headers set to `None` on the `Session` are now correctly not sent.
1210
+ - Correctly honor `decode_unicode` even if it wasn't used earlier in
1211
+ the same response.
1212
+ - Stop advertising `compress` as a supported Content-Encoding.
1213
+ - The `Response.history` parameter is now always a list.
1214
+ - Many, many `urllib3` bugfixes.
1215
+
1216
+ 2.2.1 (2014-01-23)
1217
+ ------------------
1218
+
1219
+ **Bugfixes**
1220
+
1221
+ - Fixes incorrect parsing of proxy credentials that contain a literal
1222
+ or encoded '\#' character.
1223
+ - Assorted urllib3 fixes.
1224
+
1225
+ 2.2.0 (2014-01-09)
1226
+ ------------------
1227
+
1228
+ **API Changes**
1229
+
1230
+ - New exception: `ContentDecodingError`. Raised instead of `urllib3`
1231
+ `DecodeError` exceptions.
1232
+
1233
+ **Bugfixes**
1234
+
1235
+ - Avoid many many exceptions from the buggy implementation of
1236
+ `proxy_bypass` on OS X in Python 2.6.
1237
+ - Avoid crashing when attempting to get authentication credentials
1238
+ from \~/.netrc when running as a user without a home directory.
1239
+ - Use the correct pool size for pools of connections to proxies.
1240
+ - Fix iteration of `CookieJar` objects.
1241
+ - Ensure that cookies are persisted over redirect.
1242
+ - Switch back to using chardet, since it has merged with charade.
1243
+
1244
+ 2.1.0 (2013-12-05)
1245
+ ------------------
1246
+
1247
+ - Updated CA Bundle, of course.
1248
+ - Cookies set on individual Requests through a `Session` (e.g. via
1249
+ `Session.get()`) are no longer persisted to the `Session`.
1250
+ - Clean up connections when we hit problems during chunked upload,
1251
+ rather than leaking them.
1252
+ - Return connections to the pool when a chunked upload is successful,
1253
+ rather than leaking it.
1254
+ - Match the HTTPbis recommendation for HTTP 301 redirects.
1255
+ - Prevent hanging when using streaming uploads and Digest Auth when a
1256
+ 401 is received.
1257
+ - Values of headers set by Requests are now always the native string
1258
+ type.
1259
+ - Fix previously broken SNI support.
1260
+ - Fix accessing HTTP proxies using proxy authentication.
1261
+ - Unencode HTTP Basic usernames and passwords extracted from URLs.
1262
+ - Support for IP address ranges for no\_proxy environment variable
1263
+ - Parse headers correctly when users override the default `Host:`
1264
+ header.
1265
+ - Avoid munging the URL in case of case-sensitive servers.
1266
+ - Looser URL handling for non-HTTP/HTTPS urls.
1267
+ - Accept unicode methods in Python 2.6 and 2.7.
1268
+ - More resilient cookie handling.
1269
+ - Make `Response` objects pickleable.
1270
+ - Actually added MD5-sess to Digest Auth instead of pretending to like
1271
+ last time.
1272
+ - Updated internal urllib3.
1273
+ - Fixed @Lukasa's lack of taste.
1274
+
1275
+ 2.0.1 (2013-10-24)
1276
+ ------------------
1277
+
1278
+ - Updated included CA Bundle with new mistrusts and automated process
1279
+ for the future
1280
+ - Added MD5-sess to Digest Auth
1281
+ - Accept per-file headers in multipart file POST messages.
1282
+ - Fixed: Don't send the full URL on CONNECT messages.
1283
+ - Fixed: Correctly lowercase a redirect scheme.
1284
+ - Fixed: Cookies not persisted when set via functional API.
1285
+ - Fixed: Translate urllib3 ProxyError into a requests ProxyError
1286
+ derived from ConnectionError.
1287
+ - Updated internal urllib3 and chardet.
1288
+
1289
+ 2.0.0 (2013-09-24)
1290
+ ------------------
1291
+
1292
+ **API Changes:**
1293
+
1294
+ - Keys in the Headers dictionary are now native strings on all Python
1295
+ versions, i.e. bytestrings on Python 2, unicode on Python 3.
1296
+ - Proxy URLs now *must* have an explicit scheme. A `MissingSchema`
1297
+ exception will be raised if they don't.
1298
+ - Timeouts now apply to read time if `Stream=False`.
1299
+ - `RequestException` is now a subclass of `IOError`, not
1300
+ `RuntimeError`.
1301
+ - Added new method to `PreparedRequest` objects:
1302
+ `PreparedRequest.copy()`.
1303
+ - Added new method to `Session` objects: `Session.update_request()`.
1304
+ This method updates a `Request` object with the data (e.g. cookies)
1305
+ stored on the `Session`.
1306
+ - Added new method to `Session` objects: `Session.prepare_request()`.
1307
+ This method updates and prepares a `Request` object, and returns the
1308
+ corresponding `PreparedRequest` object.
1309
+ - Added new method to `HTTPAdapter` objects:
1310
+ `HTTPAdapter.proxy_headers()`. This should not be called directly,
1311
+ but improves the subclass interface.
1312
+ - `httplib.IncompleteRead` exceptions caused by incorrect chunked
1313
+ encoding will now raise a Requests `ChunkedEncodingError` instead.
1314
+ - Invalid percent-escape sequences now cause a Requests `InvalidURL`
1315
+ exception to be raised.
1316
+ - HTTP 208 no longer uses reason phrase `"im_used"`. Correctly uses
1317
+ `"already_reported"`.
1318
+ - HTTP 226 reason added (`"im_used"`).
1319
+
1320
+ **Bugfixes:**
1321
+
1322
+ - Vastly improved proxy support, including the CONNECT verb. Special
1323
+ thanks to the many contributors who worked towards this improvement.
1324
+ - Cookies are now properly managed when 401 authentication responses
1325
+ are received.
1326
+ - Chunked encoding fixes.
1327
+ - Support for mixed case schemes.
1328
+ - Better handling of streaming downloads.
1329
+ - Retrieve environment proxies from more locations.
1330
+ - Minor cookies fixes.
1331
+ - Improved redirect behaviour.
1332
+ - Improved streaming behaviour, particularly for compressed data.
1333
+ - Miscellaneous small Python 3 text encoding bugs.
1334
+ - `.netrc` no longer overrides explicit auth.
1335
+ - Cookies set by hooks are now correctly persisted on Sessions.
1336
+ - Fix problem with cookies that specify port numbers in their host
1337
+ field.
1338
+ - `BytesIO` can be used to perform streaming uploads.
1339
+ - More generous parsing of the `no_proxy` environment variable.
1340
+ - Non-string objects can be passed in data values alongside files.
1341
+
1342
+ 1.2.3 (2013-05-25)
1343
+ ------------------
1344
+
1345
+ - Simple packaging fix
1346
+
1347
+ 1.2.2 (2013-05-23)
1348
+ ------------------
1349
+
1350
+ - Simple packaging fix
1351
+
1352
+ 1.2.1 (2013-05-20)
1353
+ ------------------
1354
+
1355
+ - 301 and 302 redirects now change the verb to GET for all verbs, not
1356
+ just POST, improving browser compatibility.
1357
+ - Python 3.3.2 compatibility
1358
+ - Always percent-encode location headers
1359
+ - Fix connection adapter matching to be most-specific first
1360
+ - new argument to the default connection adapter for passing a block
1361
+ argument
1362
+ - prevent a KeyError when there's no link headers
1363
+
1364
+ 1.2.0 (2013-03-31)
1365
+ ------------------
1366
+
1367
+ - Fixed cookies on sessions and on requests
1368
+ - Significantly change how hooks are dispatched - hooks now receive
1369
+ all the arguments specified by the user when making a request so
1370
+ hooks can make a secondary request with the same parameters. This is
1371
+ especially necessary for authentication handler authors
1372
+ - certifi support was removed
1373
+ - Fixed bug where using OAuth 1 with body `signature_type` sent no
1374
+ data
1375
+ - Major proxy work thanks to @Lukasa including parsing of proxy
1376
+ authentication from the proxy url
1377
+ - Fix DigestAuth handling too many 401s
1378
+ - Update vendored urllib3 to include SSL bug fixes
1379
+ - Allow keyword arguments to be passed to `json.loads()` via the
1380
+ `Response.json()` method
1381
+ - Don't send `Content-Length` header by default on `GET` or `HEAD`
1382
+ requests
1383
+ - Add `elapsed` attribute to `Response` objects to time how long a
1384
+ request took.
1385
+ - Fix `RequestsCookieJar`
1386
+ - Sessions and Adapters are now picklable, i.e., can be used with the
1387
+ multiprocessing library
1388
+ - Update charade to version 1.0.3
1389
+
1390
+ The change in how hooks are dispatched will likely cause a great deal of
1391
+ issues.
1392
+
1393
+ 1.1.0 (2013-01-10)
1394
+ ------------------
1395
+
1396
+ - CHUNKED REQUESTS
1397
+ - Support for iterable response bodies
1398
+ - Assume servers persist redirect params
1399
+ - Allow explicit content types to be specified for file data
1400
+ - Make merge\_kwargs case-insensitive when looking up keys
1401
+
1402
+ 1.0.3 (2012-12-18)
1403
+ ------------------
1404
+
1405
+ - Fix file upload encoding bug
1406
+ - Fix cookie behavior
1407
+
1408
+ 1.0.2 (2012-12-17)
1409
+ ------------------
1410
+
1411
+ - Proxy fix for HTTPAdapter.
1412
+
1413
+ 1.0.1 (2012-12-17)
1414
+ ------------------
1415
+
1416
+ - Cert verification exception bug.
1417
+ - Proxy fix for HTTPAdapter.
1418
+
1419
+ 1.0.0 (2012-12-17)
1420
+ ------------------
1421
+
1422
+ - Massive Refactor and Simplification
1423
+ - Switch to Apache 2.0 license
1424
+ - Swappable Connection Adapters
1425
+ - Mountable Connection Adapters
1426
+ - Mutable ProcessedRequest chain
1427
+ - /s/prefetch/stream
1428
+ - Removal of all configuration
1429
+ - Standard library logging
1430
+ - Make Response.json() callable, not property.
1431
+ - Usage of new charade project, which provides python 2 and 3
1432
+ simultaneous chardet.
1433
+ - Removal of all hooks except 'response'
1434
+ - Removal of all authentication helpers (OAuth, Kerberos)
1435
+
1436
+ This is not a backwards compatible change.
1437
+
1438
+ 0.14.2 (2012-10-27)
1439
+ -------------------
1440
+
1441
+ - Improved mime-compatible JSON handling
1442
+ - Proxy fixes
1443
+ - Path hack fixes
1444
+ - Case-Insensitive Content-Encoding headers
1445
+ - Support for CJK parameters in form posts
1446
+
1447
+ 0.14.1 (2012-10-01)
1448
+ -------------------
1449
+
1450
+ - Python 3.3 Compatibility
1451
+ - Simply default accept-encoding
1452
+ - Bugfixes
1453
+
1454
+ 0.14.0 (2012-09-02)
1455
+ -------------------
1456
+
1457
+ - No more iter\_content errors if already downloaded.
1458
+
1459
+ 0.13.9 (2012-08-25)
1460
+ -------------------
1461
+
1462
+ - Fix for OAuth + POSTs
1463
+ - Remove exception eating from dispatch\_hook
1464
+ - General bugfixes
1465
+
1466
+ 0.13.8 (2012-08-21)
1467
+ -------------------
1468
+
1469
+ - Incredible Link header support :)
1470
+
1471
+ 0.13.7 (2012-08-19)
1472
+ -------------------
1473
+
1474
+ - Support for (key, value) lists everywhere.
1475
+ - Digest Authentication improvements.
1476
+ - Ensure proxy exclusions work properly.
1477
+ - Clearer UnicodeError exceptions.
1478
+ - Automatic casting of URLs to strings (fURL and such)
1479
+ - Bugfixes.
1480
+
1481
+ 0.13.6 (2012-08-06)
1482
+ -------------------
1483
+
1484
+ - Long awaited fix for hanging connections!
1485
+
1486
+ 0.13.5 (2012-07-27)
1487
+ -------------------
1488
+
1489
+ - Packaging fix
1490
+
1491
+ 0.13.4 (2012-07-27)
1492
+ -------------------
1493
+
1494
+ - GSSAPI/Kerberos authentication!
1495
+ - App Engine 2.7 Fixes!
1496
+ - Fix leaking connections (from urllib3 update)
1497
+ - OAuthlib path hack fix
1498
+ - OAuthlib URL parameters fix.
1499
+
1500
+ 0.13.3 (2012-07-12)
1501
+ -------------------
1502
+
1503
+ - Use simplejson if available.
1504
+ - Do not hide SSLErrors behind Timeouts.
1505
+ - Fixed param handling with urls containing fragments.
1506
+ - Significantly improved information in User Agent.
1507
+ - client certificates are ignored when verify=False
1508
+
1509
+ 0.13.2 (2012-06-28)
1510
+ -------------------
1511
+
1512
+ - Zero dependencies (once again)!
1513
+ - New: Response.reason
1514
+ - Sign querystring parameters in OAuth 1.0
1515
+ - Client certificates no longer ignored when verify=False
1516
+ - Add openSUSE certificate support
1517
+
1518
+ 0.13.1 (2012-06-07)
1519
+ -------------------
1520
+
1521
+ - Allow passing a file or file-like object as data.
1522
+ - Allow hooks to return responses that indicate errors.
1523
+ - Fix Response.text and Response.json for body-less responses.
1524
+
1525
+ 0.13.0 (2012-05-29)
1526
+ -------------------
1527
+
1528
+ - Removal of Requests.async in favor of
1529
+ [grequests](https://github.com/kennethreitz/grequests)
1530
+ - Allow disabling of cookie persistence.
1531
+ - New implementation of safe\_mode
1532
+ - cookies.get now supports default argument
1533
+ - Session cookies not saved when Session.request is called with
1534
+ return\_response=False
1535
+ - Env: no\_proxy support.
1536
+ - RequestsCookieJar improvements.
1537
+ - Various bug fixes.
1538
+
1539
+ 0.12.1 (2012-05-08)
1540
+ -------------------
1541
+
1542
+ - New `Response.json` property.
1543
+ - Ability to add string file uploads.
1544
+ - Fix out-of-range issue with iter\_lines.
1545
+ - Fix iter\_content default size.
1546
+ - Fix POST redirects containing files.
1547
+
1548
+ 0.12.0 (2012-05-02)
1549
+ -------------------
1550
+
1551
+ - EXPERIMENTAL OAUTH SUPPORT!
1552
+ - Proper CookieJar-backed cookies interface with awesome dict-like
1553
+ interface.
1554
+ - Speed fix for non-iterated content chunks.
1555
+ - Move `pre_request` to a more usable place.
1556
+ - New `pre_send` hook.
1557
+ - Lazily encode data, params, files.
1558
+ - Load system Certificate Bundle if `certify` isn't available.
1559
+ - Cleanups, fixes.
1560
+
1561
+ 0.11.2 (2012-04-22)
1562
+ -------------------
1563
+
1564
+ - Attempt to use the OS's certificate bundle if `certifi` isn't
1565
+ available.
1566
+ - Infinite digest auth redirect fix.
1567
+ - Multi-part file upload improvements.
1568
+ - Fix decoding of invalid %encodings in URLs.
1569
+ - If there is no content in a response don't throw an error the second
1570
+ time that content is attempted to be read.
1571
+ - Upload data on redirects.
1572
+
1573
+ 0.11.1 (2012-03-30)
1574
+ -------------------
1575
+
1576
+ - POST redirects now break RFC to do what browsers do: Follow up with
1577
+ a GET.
1578
+ - New `strict_mode` configuration to disable new redirect behavior.
1579
+
1580
+ 0.11.0 (2012-03-14)
1581
+ -------------------
1582
+
1583
+ - Private SSL Certificate support
1584
+ - Remove select.poll from Gevent monkeypatching
1585
+ - Remove redundant generator for chunked transfer encoding
1586
+ - Fix: Response.ok raises Timeout Exception in safe\_mode
1587
+
1588
+ 0.10.8 (2012-03-09)
1589
+ -------------------
1590
+
1591
+ - Generate chunked ValueError fix
1592
+ - Proxy configuration by environment variables
1593
+ - Simplification of iter\_lines.
1594
+ - New trust\_env configuration for disabling system/environment hints.
1595
+ - Suppress cookie errors.
1596
+
1597
+ 0.10.7 (2012-03-07)
1598
+ -------------------
1599
+
1600
+ - encode\_uri = False
1601
+
1602
+ 0.10.6 (2012-02-25)
1603
+ -------------------
1604
+
1605
+ - Allow '=' in cookies.
1606
+
1607
+ 0.10.5 (2012-02-25)
1608
+ -------------------
1609
+
1610
+ - Response body with 0 content-length fix.
1611
+ - New async.imap.
1612
+ - Don't fail on netrc.
1613
+
1614
+ 0.10.4 (2012-02-20)
1615
+ -------------------
1616
+
1617
+ - Honor netrc.
1618
+
1619
+ 0.10.3 (2012-02-20)
1620
+ -------------------
1621
+
1622
+ - HEAD requests don't follow redirects anymore.
1623
+ - raise\_for\_status() doesn't raise for 3xx anymore.
1624
+ - Make Session objects picklable.
1625
+ - ValueError for invalid schema URLs.
1626
+
1627
+ 0.10.2 (2012-01-15)
1628
+ -------------------
1629
+
1630
+ - Vastly improved URL quoting.
1631
+ - Additional allowed cookie key values.
1632
+ - Attempted fix for "Too many open files" Error
1633
+ - Replace unicode errors on first pass, no need for second pass.
1634
+ - Append '/' to bare-domain urls before query insertion.
1635
+ - Exceptions now inherit from RuntimeError.
1636
+ - Binary uploads + auth fix.
1637
+ - Bugfixes.
1638
+
1639
+ 0.10.1 (2012-01-23)
1640
+ -------------------
1641
+
1642
+ - PYTHON 3 SUPPORT!
1643
+ - Dropped 2.5 Support. (*Backwards Incompatible*)
1644
+
1645
+ 0.10.0 (2012-01-21)
1646
+ -------------------
1647
+
1648
+ - `Response.content` is now bytes-only. (*Backwards Incompatible*)
1649
+ - New `Response.text` is unicode-only.
1650
+ - If no `Response.encoding` is specified and `chardet` is available,
1651
+ `Response.text` will guess an encoding.
1652
+ - Default to ISO-8859-1 (Western) encoding for "text" subtypes.
1653
+ - Removal of decode\_unicode. (*Backwards Incompatible*)
1654
+ - New multiple-hooks system.
1655
+ - New `Response.register_hook` for registering hooks within the
1656
+ pipeline.
1657
+ - `Response.url` is now Unicode.
1658
+
1659
+ 0.9.3 (2012-01-18)
1660
+ ------------------
1661
+
1662
+ - SSL verify=False bugfix (apparent on windows machines).
1663
+
1664
+ 0.9.2 (2012-01-18)
1665
+ ------------------
1666
+
1667
+ - Asynchronous async.send method.
1668
+ - Support for proper chunk streams with boundaries.
1669
+ - session argument for Session classes.
1670
+ - Print entire hook tracebacks, not just exception instance.
1671
+ - Fix response.iter\_lines from pending next line.
1672
+ - Fix but in HTTP-digest auth w/ URI having query strings.
1673
+ - Fix in Event Hooks section.
1674
+ - Urllib3 update.
1675
+
1676
+ 0.9.1 (2012-01-06)
1677
+ ------------------
1678
+
1679
+ - danger\_mode for automatic Response.raise\_for\_status()
1680
+ - Response.iter\_lines refactor
1681
+
1682
+ 0.9.0 (2011-12-28)
1683
+ ------------------
1684
+
1685
+ - verify ssl is default.
1686
+
1687
+ 0.8.9 (2011-12-28)
1688
+ ------------------
1689
+
1690
+ - Packaging fix.
1691
+
1692
+ 0.8.8 (2011-12-28)
1693
+ ------------------
1694
+
1695
+ - SSL CERT VERIFICATION!
1696
+ - Release of Cerifi: Mozilla's cert list.
1697
+ - New 'verify' argument for SSL requests.
1698
+ - Urllib3 update.
1699
+
1700
+ 0.8.7 (2011-12-24)
1701
+ ------------------
1702
+
1703
+ - iter\_lines last-line truncation fix
1704
+ - Force safe\_mode for async requests
1705
+ - Handle safe\_mode exceptions more consistently
1706
+ - Fix iteration on null responses in safe\_mode
1707
+
1708
+ 0.8.6 (2011-12-18)
1709
+ ------------------
1710
+
1711
+ - Socket timeout fixes.
1712
+ - Proxy Authorization support.
1713
+
1714
+ 0.8.5 (2011-12-14)
1715
+ ------------------
1716
+
1717
+ - Response.iter\_lines!
1718
+
1719
+ 0.8.4 (2011-12-11)
1720
+ ------------------
1721
+
1722
+ - Prefetch bugfix.
1723
+ - Added license to installed version.
1724
+
1725
+ 0.8.3 (2011-11-27)
1726
+ ------------------
1727
+
1728
+ - Converted auth system to use simpler callable objects.
1729
+ - New session parameter to API methods.
1730
+ - Display full URL while logging.
1731
+
1732
+ 0.8.2 (2011-11-19)
1733
+ ------------------
1734
+
1735
+ - New Unicode decoding system, based on over-ridable
1736
+ Response.encoding.
1737
+ - Proper URL slash-quote handling.
1738
+ - Cookies with `[`, `]`, and `_` allowed.
1739
+
1740
+ 0.8.1 (2011-11-15)
1741
+ ------------------
1742
+
1743
+ - URL Request path fix
1744
+ - Proxy fix.
1745
+ - Timeouts fix.
1746
+
1747
+ 0.8.0 (2011-11-13)
1748
+ ------------------
1749
+
1750
+ - Keep-alive support!
1751
+ - Complete removal of Urllib2
1752
+ - Complete removal of Poster
1753
+ - Complete removal of CookieJars
1754
+ - New ConnectionError raising
1755
+ - Safe\_mode for error catching
1756
+ - prefetch parameter for request methods
1757
+ - OPTION method
1758
+ - Async pool size throttling
1759
+ - File uploads send real names
1760
+ - Vendored in urllib3
1761
+
1762
+ 0.7.6 (2011-11-07)
1763
+ ------------------
1764
+
1765
+ - Digest authentication bugfix (attach query data to path)
1766
+
1767
+ 0.7.5 (2011-11-04)
1768
+ ------------------
1769
+
1770
+ - Response.content = None if there was an invalid response.
1771
+ - Redirection auth handling.
1772
+
1773
+ 0.7.4 (2011-10-26)
1774
+ ------------------
1775
+
1776
+ - Session Hooks fix.
1777
+
1778
+ 0.7.3 (2011-10-23)
1779
+ ------------------
1780
+
1781
+ - Digest Auth fix.
1782
+
1783
+ 0.7.2 (2011-10-23)
1784
+ ------------------
1785
+
1786
+ - PATCH Fix.
1787
+
1788
+ 0.7.1 (2011-10-23)
1789
+ ------------------
1790
+
1791
+ - Move away from urllib2 authentication handling.
1792
+ - Fully Remove AuthManager, AuthObject, &c.
1793
+ - New tuple-based auth system with handler callbacks.
1794
+
1795
+ 0.7.0 (2011-10-22)
1796
+ ------------------
1797
+
1798
+ - Sessions are now the primary interface.
1799
+ - Deprecated InvalidMethodException.
1800
+ - PATCH fix.
1801
+ - New config system (no more global settings).
1802
+
1803
+ 0.6.6 (2011-10-19)
1804
+ ------------------
1805
+
1806
+ - Session parameter bugfix (params merging).
1807
+
1808
+ 0.6.5 (2011-10-18)
1809
+ ------------------
1810
+
1811
+ - Offline (fast) test suite.
1812
+ - Session dictionary argument merging.
1813
+
1814
+ 0.6.4 (2011-10-13)
1815
+ ------------------
1816
+
1817
+ - Automatic decoding of unicode, based on HTTP Headers.
1818
+ - New `decode_unicode` setting.
1819
+ - Removal of `r.read/close` methods.
1820
+ - New `r.faw` interface for advanced response usage.\*
1821
+ - Automatic expansion of parameterized headers.
1822
+
1823
+ 0.6.3 (2011-10-13)
1824
+ ------------------
1825
+
1826
+ - Beautiful `requests.async` module, for making async requests w/
1827
+ gevent.
1828
+
1829
+ 0.6.2 (2011-10-09)
1830
+ ------------------
1831
+
1832
+ - GET/HEAD obeys allow\_redirects=False.
1833
+
1834
+ 0.6.1 (2011-08-20)
1835
+ ------------------
1836
+
1837
+ - Enhanced status codes experience `\o/`
1838
+ - Set a maximum number of redirects (`settings.max_redirects`)
1839
+ - Full Unicode URL support
1840
+ - Support for protocol-less redirects.
1841
+ - Allow for arbitrary request types.
1842
+ - Bugfixes
1843
+
1844
+ 0.6.0 (2011-08-17)
1845
+ ------------------
1846
+
1847
+ - New callback hook system
1848
+ - New persistent sessions object and context manager
1849
+ - Transparent Dict-cookie handling
1850
+ - Status code reference object
1851
+ - Removed Response.cached
1852
+ - Added Response.request
1853
+ - All args are kwargs
1854
+ - Relative redirect support
1855
+ - HTTPError handling improvements
1856
+ - Improved https testing
1857
+ - Bugfixes
1858
+
1859
+ 0.5.1 (2011-07-23)
1860
+ ------------------
1861
+
1862
+ - International Domain Name Support!
1863
+ - Access headers without fetching entire body (`read()`)
1864
+ - Use lists as dicts for parameters
1865
+ - Add Forced Basic Authentication
1866
+ - Forced Basic is default authentication type
1867
+ - `python-requests.org` default User-Agent header
1868
+ - CaseInsensitiveDict lower-case caching
1869
+ - Response.history bugfix
1870
+
1871
+ 0.5.0 (2011-06-21)
1872
+ ------------------
1873
+
1874
+ - PATCH Support
1875
+ - Support for Proxies
1876
+ - HTTPBin Test Suite
1877
+ - Redirect Fixes
1878
+ - settings.verbose stream writing
1879
+ - Querystrings for all methods
1880
+ - URLErrors (Connection Refused, Timeout, Invalid URLs) are treated as
1881
+ explicitly raised
1882
+ `r.requests.get('hwe://blah'); r.raise_for_status()`
1883
+
1884
+ 0.4.1 (2011-05-22)
1885
+ ------------------
1886
+
1887
+ - Improved Redirection Handling
1888
+ - New 'allow\_redirects' param for following non-GET/HEAD Redirects
1889
+ - Settings module refactoring
1890
+
1891
+ 0.4.0 (2011-05-15)
1892
+ ------------------
1893
+
1894
+ - Response.history: list of redirected responses
1895
+ - Case-Insensitive Header Dictionaries!
1896
+ - Unicode URLs
1897
+
1898
+ 0.3.4 (2011-05-14)
1899
+ ------------------
1900
+
1901
+ - Urllib2 HTTPAuthentication Recursion fix (Basic/Digest)
1902
+ - Internal Refactor
1903
+ - Bytes data upload Bugfix
1904
+
1905
+ 0.3.3 (2011-05-12)
1906
+ ------------------
1907
+
1908
+ - Request timeouts
1909
+ - Unicode url-encoded data
1910
+ - Settings context manager and module
1911
+
1912
+ 0.3.2 (2011-04-15)
1913
+ ------------------
1914
+
1915
+ - Automatic Decompression of GZip Encoded Content
1916
+ - AutoAuth Support for Tupled HTTP Auth
1917
+
1918
+ 0.3.1 (2011-04-01)
1919
+ ------------------
1920
+
1921
+ - Cookie Changes
1922
+ - Response.read()
1923
+ - Poster fix
1924
+
1925
+ 0.3.0 (2011-02-25)
1926
+ ------------------
1927
+
1928
+ - Automatic Authentication API Change
1929
+ - Smarter Query URL Parameterization
1930
+ - Allow file uploads and POST data together
1931
+ -
1932
+
1933
+ New Authentication Manager System
1934
+
1935
+ : - Simpler Basic HTTP System
1936
+ - Supports all built-in urllib2 Auths
1937
+ - Allows for custom Auth Handlers
1938
+
1939
+ 0.2.4 (2011-02-19)
1940
+ ------------------
1941
+
1942
+ - Python 2.5 Support
1943
+ - PyPy-c v1.4 Support
1944
+ - Auto-Authentication tests
1945
+ - Improved Request object constructor
1946
+
1947
+ 0.2.3 (2011-02-15)
1948
+ ------------------
1949
+
1950
+ -
1951
+
1952
+ New HTTPHandling Methods
1953
+
1954
+ : - Response.\_\_nonzero\_\_ (false if bad HTTP Status)
1955
+ - Response.ok (True if expected HTTP Status)
1956
+ - Response.error (Logged HTTPError if bad HTTP Status)
1957
+ - Response.raise\_for\_status() (Raises stored HTTPError)
1958
+
1959
+ 0.2.2 (2011-02-14)
1960
+ ------------------
1961
+
1962
+ - Still handles request in the event of an HTTPError. (Issue \#2)
1963
+ - Eventlet and Gevent Monkeypatch support.
1964
+ - Cookie Support (Issue \#1)
1965
+
1966
+ 0.2.1 (2011-02-14)
1967
+ ------------------
1968
+
1969
+ - Added file attribute to POST and PUT requests for multipart-encode
1970
+ file uploads.
1971
+ - Added Request.url attribute for context and redirects
1972
+
1973
+ 0.2.0 (2011-02-14)
1974
+ ------------------
1975
+
1976
+ - Birth!
1977
+
1978
+ 0.0.1 (2011-02-13)
1979
+ ------------------
1980
+
1981
+ - Frustration
1982
+ - Conception