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