Commit Graph

368 Commits

Author SHA1 Message Date
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
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
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
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
Nate Prewitt 1435cf5aff docs updates 2016-08-14 20:56:52 -06:00
Jiayuan Zhang 00f83fb0c6 fix grammer mistakes in Quickstart 2016-08-13 10:19:10 +08:00
Michael 07b7872df8 Add a bit about RequestsCookieJar to Cookies section 2016-08-03 13:03:34 -07:00
Zeusw cf938420f8 in python3.x not have StringIO
I think, should such an amendment.
2016-07-14 10:40:32 +08:00
Nate Prewitt 1cb3b797fe updating documentation to reflect decision of #3386 2016-07-07 07:44:20 -06:00
kennethreitz e12ee9407c Merge pull request #3297 from davidfischer/http-error-specifics
Note how HTTPErrors are raised
2016-06-08 23:57:44 -07:00
kennethreitz 6c9a0eff04 compensate for lack of taste 2016-06-09 00:38:53 -04:00