kennethreitz
63e18ff2cc
working!
2019-04-19 10:39:50 -04:00
kennethreitz
0e4eb5683b
refactor
2019-04-18 15:39:34 -04:00
kennethreitz
b2e99359fc
merge
2018-03-15 08:59:47 -04:00
VasiliPupkin256
8f00695d40
updating 3.0-HISTORY for #2392
2018-01-14 01:59:29 +03:00
hugovk
9146b62d31
OrderedDict no longer in compat.py as it's in collections in Py2.7+
2017-10-17 20:29:33 +03:00
Allan Crooks
6dc3003f16
Update documentation regarding response headers.
2017-09-12 23:13:03 +01:00
Hugo Osvaldo Barrera
ed068ea0af
Drop python2.6 support
2017-07-14 11:42:32 -03:00
Nate Prewitt
be2f92b9e3
updating HISTORY
2017-03-02 05:27:33 -07:00
Rotem Yaari
efcbe93075
Make Response.raise_for_status() return the response object if the response is successful
...
This allows for chaining method calls in cases where we want to raise for bad codes but use the response otherwise,
e.g. requests.get(URL).raise_for_status().json()['value']
2017-02-12 11:11:40 +02:00
Nate Prewitt
16bbc7478f
revert removal of request param from resolve_redirects
2017-02-11 23:35:19 -07:00
Nate Prewitt
7b76bd5866
remove HTTPProxyAuth in favor of the proxies parameter
2016-12-16 15:14:58 -07:00
Nate Prewitt
3bb25a1e0b
updating 3.0-HISTORY for #3757
2016-12-10 22:00:25 -07:00
Nate Prewitt
f1a707d191
updating 3.0 history
2016-12-09 12:55:58 -07:00
kennethreitz
e668a09490
changelog for #3021
2016-02-18 02:04:42 -05:00
kennethreitz
4e880b5bbe
Update 3.0-HISTORY.rst
2016-02-13 08:35:41 -05:00
kennethreitz
c270845a46
Update 3.0-HISTORY.rst
2016-02-02 02:31:45 -05:00
kennethreitz
d6538d7034
requests.get(..., session=Session())
2016-02-02 02:23:55 -05:00
kennethreitz
0e51e48473
PreparedRequest.send()
2016-02-02 02:12:38 -05:00
kennethreitz
789227f5a9
notes on Session.resolve_redirects's response arg
2016-02-02 02:09:38 -05:00
kennethreitz
4dfe7a4885
Remove req argument from Session.resolve_redirects
2016-02-02 00:31:08 -05:00
Ian Cordasco
f351c1b687
Add release notes for PR 2631
2015-06-21 09:49:46 -05:00
Ian Cordasco
52bc2e57c0
Remove the __bool__ and __nonzero__ response methods
...
Many people expect to be able to say:
response = make_request(url)
if response:
body = response.content
Where the first part should test for whether or not response is None.
Instead, the __bool__ and __nonzero__ methods return response.ok, so if
the response is actually a 4xx or 5xx response, then the user would
expect to get the body of the response.
By removing these methods, we restore the functionality that most users
expect.
Closes #2002
2015-05-04 07:58:04 -05:00