kennethreitz
b2e99359fc
merge
2018-03-15 08:59:47 -04:00
Nate Prewitt
37f1d23c39
Merge remote-tracking branch 'upstream/master' into proposed/3.0.0
2017-10-15 13:59:50 -07:00
Allan Crooks
a36247e148
Rename HTTPHeaderDict methods to getlist and setlist to be more consistent with other similar implementations.
2017-09-12 23:14:00 +01:00
Allan Crooks
6dc3003f16
Update documentation regarding response headers.
2017-09-12 23:13:03 +01:00
kennethreitz
afaaae185c
Update authentication.rst
2017-09-04 16:10:49 -04:00
kennethreitz
8af65a1eca
Update quickstart.rst
2017-09-04 16:09:51 -04:00
kennethreitz
c04b044b30
Update advanced.rst
2017-09-04 16:09:08 -04:00
kennethreitz
530198e0c0
Update install.rst
2017-09-04 16:08:22 -04:00
kennethreitz
8c57515696
Update intro.rst
2017-09-04 16:05:57 -04:00
kennethreitz
8be8105c42
Update advanced.rst
2017-09-04 15:53:26 -04:00
Pascal Van Acker
ac9a3e5320
fixed syntax for code block for prepared requests
2017-08-28 11:14:05 +02:00
Pascal Van Acker
785c733415
Add environment info to prepared requests
...
When using prepared requests, the environment is not taken into account. This should be reflected in the documentation.
2017-08-28 10:58:44 +02:00
kennethreitz
3cceee3459
Update install.rst
2017-08-27 23:16:32 -04:00
NikosVlagoidis
218978601f
Fix issue #3863
2017-08-09 20:18:43 +03:00
NikosVlagoidis
cb9620780f
Update advanced.rst
2017-08-09 18:52:26 +03:00
Nikolaos Vlagoidis
963c78853f
Fixes issue #3863
2017-08-09 15:38:45 +03:00
Ed Morley
4847f5b8cd
Allow Requests.Response to be used as a context manager
...
This saves having to wrap the call to requests with
`contextlib.closing()`, allowing it to be used directly in a
`with` statement, like so:
```
with requests.get('http://httpbin.org/get ', stream=True) as r:
# Do things with the response here.
```
Fixes #4136 .
2017-06-06 23:30:47 +01:00
Cory Benfield
c3f4a028bf
Merge branch 'master' into proposed/3.0.0
2017-05-31 10:29:19 +01:00
kennethreitz
008ab18a77
improve installation docs
2017-05-29 23:33:51 -04:00
kennethreitz
67831abaaf
improve install docs
2017-05-29 23:33:25 -04:00
kennethreitz
35f2e55308
improve installation instructions
2017-05-29 23:26:15 -04:00
kennethreitz
84114419a0
improve install documentation syntax
2017-05-29 23:25:21 -04:00
kennethreitz
7f14db17c8
new requests namespace
2017-05-29 12:11:43 -04:00
kennethreitz
14c1102e0f
new installation location
2017-05-29 12:08:28 -04:00
kennethreitz
b9a004a22b
improvements
2017-05-27 17:25:44 -04:00
kennethreitz
2e67c86075
merge
2017-05-27 17:24:06 -04:00
kennethreitz
6fb9b1ce53
fix lack of taste
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2017-05-21 23:25:18 -07:00
Nate Prewitt
a889b62c50
Merge branch 'master' into proposed/3.0.0
2017-05-21 16:25:55 -07:00
Anthony Shaw
3cb7539981
Update advanced.rst
...
break client side certificates out into a sub header
2017-04-02 20:21:37 +10:00
Brian Schiller
e0ba82949b
Change apostrophe placement in advanced.rst
...
See Rule2a on http://www.grammarbook.com/punctuation/apostro.asp
2017-03-14 10:09:41 -05:00
Gary Wu
21972c4601
fix #3902 Add proposed documentation change for post data
2017-03-01 13:04:11 -06: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
Cory Benfield
08ce652b8b
Say that we use a dictionary of strings.
2017-02-08 11:54:32 +00:00
Nick Coghlan
775d19ee05
Explicitly mention OpenID Connect
...
OAuth 2 is the authentication protocol underpinning OpenID Connect.
Mention that explicitly for the benefit of folks looking for information on using
requests with OpenID Connect that don't yet know that OAuth 2 is the
relevant underlying authentication protocol.
2017-01-10 15:31:20 +10:00
Nick Coghlan
4942b40496
Improve discoverability of OAuth 2 support
...
The previous summary gave the impression that requests-oauthlib only supports
OAuth 1.
This updates makes it clear that it also supports OAuth 2, and links directly to the
use case specific authentication flow guides.
2017-01-10 15:17:08 +10:00
Nate Prewitt
f5c5536916
updating https demo urls
2017-01-04 15:23:23 -07:00
Nate Prewitt
4f9d0e0455
streaming doc clarification
2016-11-21 14:17:28 -07:00
Aidan Feldman
ed3ba3dbb8
correct backtick formatting
2016-11-17 12:26:19 -05:00
Aidan Feldman
5562c0f097
clarify that the chunk_size is optional when streaming to a file
2016-11-17 12:21:58 -05:00
Greg McLeod
b4d843bad2
Fixed readme typo - 'site' should be 'domain'
2016-11-15 22:27:45 -05:00
Mike Lissner
cfb7fd8f28
Amplifies the timeout warning in the docs.
...
Partially addresses #3070 .
2016-11-14 09:57:08 -08:00
Nate Prewitt
d81ad06c64
documentation on encoding fallback for streaming
2016-11-14 09:52:40 -07:00
Nate Prewitt
71b8941f0e
adding decoding requirement for Python 3
2016-11-14 09:43:19 -07:00
Bård Aase
388e949e83
Formatted the example to fix the color highlighting
2016-10-31 09:09:16 +01:00
Cory Benfield
02ab1ba5bd
Let's use capitals.
2016-10-12 11:11:05 +01:00
Stewart Polley
341bed9e17
Add Documentation for custom methods
2016-10-08 06:22:07 +10:00
Om Prakash
06920cc266
fixes broken link on documentation page
...
Issue #3603
2016-09-28 16:34:02 +05:30
Richard van den Berg
2cd05271be
Add persistent examples
2016-08-26 09:43:11 +02:00
Maik
b5fac31688
Changes to documentation based on comments and correction of list of authors.
2016-08-17 22:03:18 +02:00
Maik Himstedt
b26606cc3c
Adding notes about Request's timeout behavior.
2016-08-17 20:27:00 +02:00