Nick Krichevsky
9cae7be94f
Clarify that PreparedRequests should not be manually created
...
Closes #5504
2020-06-18 22:06:41 -04:00
Kartik Chugh
1ca1c52e69
Google App Engine ( #5475 )
...
* Continuity: Google App Engine
2020-06-17 13:09:34 -07:00
Nate Prewitt
0797c61fd5
v2.24.0
v2.24.0
2020-06-17 08:50:25 -07:00
Nate Prewitt
daa2b297a3
updating usage information
2020-06-17 08:50:25 -07:00
Nate Prewitt
7c71982260
Merge pull request #5496 from dbaxa/optimise-prepare-body
...
Avoid an unnecessary computation of the length of data for non-stream requests (which determine content-length based upon body content).
2020-06-17 08:21:38 -07:00
David Black
71a05cf289
Avoid an unnecessary computation of the length of data for non-stream requests (which determines content-length based upon body content).
2020-06-16 20:53:07 +10:00
Bharat Raghunathan
737dd0c3c6
Update number of dependents on requests ( #5495 )
...
* Update dependents on requests
2020-06-15 12:56:07 -07:00
Kevin Kirsche
8ac5929ae1
Fix typo in README ( #5468 )
2020-06-15 08:23:17 -07:00
Nate Prewitt
2b3436e0e7
Merge pull request #5492 from dbaxa/avoid-calling-resolve_redirects-whe-not-following-redirects
...
Remove what appears to be an un-needed call to self.resolve_redirects when not following redirects as part of creating a request's history.
2020-06-15 07:44:38 -07:00
David Black
fa2dbe9a91
Remove what appears to be an un-needed call to self.resolve_redirects when not following redirects as part of creating a request's history.
2020-06-15 20:16:47 +10:00
Thomas Grainger
9ed5db8ed2
fix raise_for_status docstring ( #5293 )
...
the exception isn't stored it's created new each call
2020-05-08 22:08:51 -07:00
Miro Hrončok
427e8eb1e7
Fix test_conflicting_post_params to work on pytest 5 ( #5305 )
...
The non-contextmanager form of pytest.raises was removed in pytest 5.
http://doc.pytest.org/en/latest/deprecations.html#raises-warns-with-a-string-as-the-second-argument
It was used here to support Python < 2.7, but that is no longer needed.
https://github.com/psf/requests/pull/1503#issuecomment-22333666
Fixes https://github.com/psf/requests/issues/5304
2020-05-08 21:58:03 -07:00
Seth Michael Larson
251f73f65d
Add changelog entry for pyOpenSSL change
2020-05-01 16:33:51 -07:00
Seth Michael Larson
db47b9b4a0
Don't use pyOpenSSL unless no SNI is detected
2020-05-01 16:33:51 -07:00
Nate Prewitt
bfb93d4b7d
update bleach security vulnerability
2020-04-03 14:39:06 -07:00
Nate Prewitt
9ea85109a5
fixing rst markup
2020-04-03 14:31:44 -07:00
Dustin Rodrigues
c577eb8d5f
fix README typo
2020-04-03 13:59:17 -07:00
Alessio Izzo
bebf5250b0
Remove explicit unicode literal in README.md and doc ( #5336 )
...
* [remove] remove "u" prefix in README and documentation examples
2020-03-25 12:44:51 -07:00
Seth Michael Larson
2758124a13
Also update GitHub's Security Disclosure document ( #5370 )
2020-02-27 21:33:09 -06:00
Nate Prewitt
4fc7f4a255
Update disclosure contact info ( #5369 )
2020-02-27 12:05:07 -06:00
Nate Prewitt
65989ddfe9
changing of the guard
...
Thanks for everything Ian. Welcome Seth!
2020-02-26 20:47:28 -08:00
Nate Prewitt
0a760ff025
updating pipfile.lock for bleach security issue ( #5364 )
2020-02-26 20:21:47 -08:00
Redowan Delowar
ca6f9af5db
Normalize exception docstrings ( #5338 )
2020-02-23 11:56:46 -06:00
Nate Prewitt
b7c6aba848
v2.23.0
2020-02-19 10:44:27 -08:00
Nate Prewitt
fd13816d01
Revert "Fix for response with UTF-8 BOM #4976 "
...
This reverts commit 19cff44ec1 .
This reverts commit 9e27326d68 .
This reverts commit f507a3ef12 .
2020-02-18 18:56:39 -06:00
Nate Prewitt
24bcb9eab6
Revert "Use urllib for chunked requests"
...
This reverts commit 2da7fe0858 .
2020-02-18 18:56:39 -06:00
Nate Prewitt
b15056d1d3
Revert " #4965 fix: Accessing response.content twice removes forgets read error."
...
This reverts commit bd10047244 .
This reverts commit d91fe00983 .
2020-02-18 18:56:39 -06:00
Ned Batchelder
80011a7917
Remove an obsolete attribute from __attrs__
...
The extra attribute in __attrs__ makes an unpickled session have one more attribute than the original. Removing it makes the original and the unpickled be identical.
2020-02-18 09:17:21 -08:00
Chris Withers
c46f55bd48
Limit dependencies to major instead of minor ( #5342 )
2020-02-18 08:58:27 -06:00
Alexander Zhukov
e11302018b
Fix the syntax highlighting in the example ( #5276 )
...
Co-authored-by: Nate Prewitt <nate.prewitt@gmail.com >
2020-02-17 23:19:38 -08:00
Nate Prewitt
23f6faa7cd
Merge pull request #5346 from stock1218/master
...
Update pipenv links in README and installation guide.
2020-02-17 21:44:33 -08:00
John Samuels
ae0a497b0c
Update link to pipenv in installation guide.
2020-02-17 21:47:34 +00:00
John Samuels
b1631b03bc
Update link to pipenv in README.
2020-02-17 21:46:26 +00:00
Nate Prewitt
a9906536ee
Merge pull request #5326 from nawatts/intersphinx-mapping-config
...
Fix intersphinx_mapping config for Python standard library
2020-01-31 14:24:52 -10:00
Nick Watts
d5c4cac0f4
Fix intersphinx_mapping config for Python standard library
2020-01-25 18:19:22 -05:00
Nate Prewitt
7b565d886c
Merge pull request #5325 from nawatts/install-pip-link
...
Change link for pip installation instructions
2020-01-25 10:19:34 -08:00
Nick Watts
7138d8b0e3
Change link for pip installation instructions
2020-01-25 12:09:10 -05:00
johnthagen
9b95b4e7b4
Add PyPy3 to Travis test suite ( #5193 )
2020-01-21 11:00:51 -06:00
Hugo van Kemenade
d2f65af033
Move community files under .github/ ( #5206 )
2020-01-19 09:41:09 -06:00
Sumana Harihareswara
a9ee0eef5a
Add Python 2 support entry in FAQ ( #5303 )
...
* Add Python 2 support entry in FAQ
Fixes : #5211
Signed-off-by: Sumana Harihareswara <sh@changeset.nyc >
* Adding Python 3 recommendation
Co-authored-by: Nate Prewitt <nate.prewitt@gmail.com >
2020-01-09 09:55:20 -08:00
John Kooker
782e94d141
Update example code in README.md ( #5292 )
...
Show the current project description.
2020-01-09 09:26:42 -08:00
Nate Prewitt
ad18d14573
Merge pull request #5306 from hugovk/update-python-versions-in-faq
...
Update supported Python versions
2020-01-09 09:06:47 -08:00
Hugo
f462eecf48
Update supported Python versions
2020-01-06 11:24:02 +02:00
Nate Prewitt
eedd674628
Merge pull request #5250 from MasterOdin/patch-1
...
Fix link to requests-threads in community/recommended doc
2019-11-22 18:50:54 -08:00
Matthew Peveler
4a540ff5f1
Fix link to requests-threads on community/recommended
2019-10-30 16:15:13 -03:00
Sorin Sbarnea
d2590ee46c
Change documentation website to requests.readthedocs.io ( #5236 )
...
Fixes : #5212
2019-10-24 20:02:55 -07:00
Charles Reid
4cd95aa496
update translation links from http -> https ( #5237 )
2019-10-24 19:46:04 -07:00
Nate Prewitt
56fd46f9bf
Merge pull request #5243 from hugovk/test-3.8-final
...
Test on Python 3.8 final
2019-10-24 19:32:25 -07:00
Hugo
2ff8106d62
Test on Python 3.8 final
2019-10-22 18:40:03 +03:00
Ernest W. Durbin III
fab1fd10d0
Merge pull request #5216 from Leetcore/patch-1
...
documentation link fixed
2019-09-30 05:52:29 -04:00