35 Commits

Author SHA1 Message Date
Elliot Ford 0a7f662aa7 Make example URL format a literal rather than an actual link
The rendered docs 'auto-link' this, which might encourage users to click
the link, even though it doesn't go anywhere.
2024-02-23 10:26:21 +00:00
Nate Prewitt 147c8511dd v2.31.0 2023-05-22 09:10:32 -06:00
Syed Saifullah d3d504436e Fixed a small typo (#6452) 2023-05-09 10:55:33 -06:00
Nate Prewitt 2ad18e0e10 v2.30.0 2023-05-03 09:39:44 -06:00
Nate Prewitt 87d63de873 v2.29.0 2023-04-26 09:19:11 -06:00
Nate Prewitt 61c324da43 v2.28.2 2023-01-12 09:16:09 -07:00
Nate Prewitt 4d394574f5 v2.28.1 2022-06-29 09:09:11 -06:00
Nate Prewitt da9996fe4d v2.28.0 2022-06-09 08:42:10 -06:00
Nate Prewitt 8bce583b95 Farewell, sweet Concorde!
Formally removing any remaining vestiges of Python 2 from Requests.
We'll also leave behind Python 3.6 while we're at it.
2022-03-25 10:50:33 -06:00
Nate Prewitt 95f4567336 Wrap urllib3's SSLError as requests' SSLError (#6057) 2022-02-05 11:56:05 -07:00
Nate Prewitt 31a89d9c84 v2.27.1 2022-01-05 08:35:04 -07:00
Nate Prewitt 0192aac241 v2.27.0 2022-01-03 07:59:10 -07:00
David Hotham 2d2447e210 Catch AttributeError in utils.super_len (#5239)
* Catch AttributeError in utils.super_len

This allows it to handle files obtained via `Tarfile.extractfile()`.
2021-11-28 12:04:49 -08:00
Kevin Kirsche fc106ab586 fix minor typos (#5934) 2021-09-15 06:43:12 -05:00
Nate Prewitt 9572d6a299 General doc updates (#5923) 2021-09-02 08:53:46 -07:00
Steve Berdy db575eeedc Fix inconsistent exception type in response.json() method (#5856) 2021-07-26 08:56:44 -07:00
Nate Prewitt a1a6a549a0 v2.26.0 2021-07-13 07:52:02 -07:00
Nate Prewitt f6c0619d89 Disable requests[security] and remove 3.5 support references 2021-07-09 12:40:55 -07:00
Дилян Палаузов 5351469472 Add support for brotli decoding (#5783)
* Add support for Brotli decoding

When the brotli or brotlicffi packages are installed,
urllib3.util.make_headers() inserts ',br' in the Accept-Encoding header
and decodes br from the answers.

* Create the default Accept-Encoding header once

* Preserve the previous delimiter behavior

* Update prose in quickstart.rst

Co-authored-by: Seth Michael Larson <sethmichaellarson@gmail.com>
2021-07-07 08:16:28 -05:00
Ash Berlin-Taylor 2ed84f55b2 Switch LGPL'd chardet for MIT licensed charset_normalizer (#5797)
Although using the (non-vendored) chardet library is fine for requests
itself, but using a LGPL dependency the story is a lot less clear
for downstream projects, particularly ones that might like to bundle
requests (and thus chardet) in to a single binary -- think something
similar to what docker-compose is doing. By including an LGPL'd module
it is no longer clear if the resulting artefact must also be LGPL'd.

By changing out this dependency for one under MIT we remove all
license ambiguity.

As an "escape hatch" I have made the code so that it will use chardet
first if it is installed, but we no longer depend upon it directly,
although there is a new extra added, `requests[lgpl]`. This should
minimize the impact to users, and give them an escape hatch if
charset_normalizer turns out to be not as good. (In my non-exhaustive
tests it detects the same encoding as chartdet in every case I threw at
it)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
2021-07-06 18:55:02 -05:00
Nate Prewitt c2b307dbef v2.25.1 2020-12-16 11:34:26 -08:00
Nate Prewitt 03957eb1c2 v2.25.0 2020-11-11 11:55:50 -08:00
Nate Prewitt 0797c61fd5 v2.24.0 2020-06-17 08:50:25 -07:00
Seth Michael Larson 251f73f65d Add changelog entry for pyOpenSSL change 2020-05-01 16:33:51 -07:00
Nate Prewitt b7c6aba848 v2.23.0 2020-02-19 10:44:27 -08:00
Sorin Sbarnea d2590ee46c Change documentation website to requests.readthedocs.io (#5236)
Fixes: #5212
2019-10-24 20:02:55 -07:00
Nihaal 9cdf294107 Updated references to previous requests/requests GitHub path 2019-08-19 21:33:18 +01:00
Min ho Kim 5f576ad22f Fix typos 2019-07-20 01:46:08 +10:00
Nate Prewitt 68e581f1b5 drop 3.4 support 2019-05-15 12:51:31 -07:00
Nate Prewitt 5a1e738ea9 v2.21.0 2018-12-09 22:13:32 -08:00
Nate Prewitt 6cfbe1aedd v2.20.1 2018-11-08 09:14:10 -08:00
Nate Prewitt bd840450c0 v2.20.0 2018-10-17 22:32:22 -07:00
Nate Prewitt bbdbcc8f05 wrap url parsing exceptions from urllib3's PoolManager 2018-09-30 18:36:05 -06:00
Jon Dufresne b0ad2499c8 Prefer https:// for URLs throughout project 2018-09-30 17:14:40 -05:00
kennethreitz 5251882a03 history 2018-09-17 06:06:08 -04:00