Commit Graph

394 Commits

Author SHA1 Message Date
homm 3440fca2e8 clearly describe r.raw in Body Content Workflow 2013-09-12 13:13:51 +04:00
homm 10b6d77945 remove extra mention of dangerous r.raw 2013-09-12 10:20:47 +04:00
Yang Zhang 2cb523b267 Fix typo in Timeouts doc 2013-09-07 00:16:09 -07:00
Yang Zhang 6d0315f78f Clarify timeout behavior in quickstart doc 2013-09-06 19:27:57 -07:00
libbkmz 78e5262dbd Update advanced.rst 2013-08-19 00:01:37 +04:00
enkore 4ffc3e4d1f Remove superfluous double dot 2013-08-18 03:06:34 +02:00
David Pursehouse 62f0df4434 Add a simple example of custom authentication in the documentation
Refs #1471
2013-07-22 09:14:33 +09:00
David Pursehouse 5cdcf58b3b Wrap long lines in the authentication documentation 2013-07-22 09:08:47 +09:00
Kwpolska 2ef782b8e6 further treatment
Signed-off-by: Kwpolska <kwpolska@gmail.com>
2013-07-20 13:54:33 +02:00
Kwpolska b738c97ec3 session object should be uppercase
Signed-off-by: Kwpolska <kwpolska@gmail.com>
2013-07-20 13:39:50 +02:00
Kwpolska 022c370bcd fixed underline
Signed-off-by: Kwpolska <kwpolska@gmail.com>
2013-07-20 13:31:37 +02:00
Kwpolska 587385bfe0 Grammar fixes and such
Signed-off-by: Kwpolska <kwpolska@gmail.com>
2013-07-20 12:56:25 +02:00
Kwpolska ca033b83fe Some cosmetic updates to the docs
Signed-off-by: Kwpolska <kwpolska@gmail.com>
2013-07-20 12:12:57 +02:00
Cory Benfield 949a29c34f Merge pull request #1470 from Lukasa/carset
Remove charset from JSON types: not valid.
2013-07-19 06:45:56 -07:00
Cory Benfield be884341f4 Merge pull request #1465 from dpursehouse/doc-netrc-authentication
Improve documentation of netrc authentication
2013-07-19 06:45:17 -07:00
David Pursehouse c88fd8cc9d Move netrc authentication documentation under the Basic Auth section 2013-07-19 22:37:57 +09:00
Cory Benfield 8385fb397b Remove charset from JSON types: not valid. 2013-07-19 14:03:20 +01:00
s7v7nislands 39ad5e7388 merge 2013-07-19 17:12:01 +08:00
s7v7nislands 0df505bd7c fix doc 2013-07-19 17:04:53 +08:00
David Pursehouse 6f6a920a68 Improve documentation of netrc authentication
The documentation does not make it clear that when the credentials
from netrc are used, Requests authenticates with HTTP Basic Auth.

I just spent ages trying to figure out why it wasn't working, and
it was because although the credentials in the netrc were correct,
the server actually required HTTP Digest Auth.

Add a section in the authentication documentation to make it clear
that HTTP Basic Auth is used.
2013-07-19 17:30:54 +09:00
David Pursehouse 07ad75ee04 Fix #1322: Add note in docs about None not being sent as data
In the case:

  payload = {'key1': 'value1', 'key2': 'value2', 'key3': None}
  r = requests.get("http://httpbin.org", params=payload)

the parameter `key3` will not be sent as a parameter in the URL.

Mention this in the documentation.
2013-07-19 17:14:59 +09:00
Lukasz Balcerzak 805abee9b4 Fixed wrong method call at streaming example
405 is returned if POST request is performed to http://httpbin.org/stream/20
2013-06-27 13:37:39 +02:00
Kevin Burke a6415cf895 Link to the actual exception references
Sphinx has a neat cross-referencing feature where if you include the tilde
character in front of a :py: class, it'll link to the full object but provide
only the last part of class name in the text. For more info see
http://sphinx-doc.org/domains.html#cross-referencing-syntax
2013-06-12 15:53:09 -07:00
Josh Schneier 43a64d9515 fix doc typo 2013-06-09 11:14:14 -04:00
Kenneth Reitz cfd84d74ee Merge pull request #1392 from revolunet/patch-2
Update quickstart.rst
2013-06-08 03:16:21 -07:00
Cory Benfield f53aed1611 Document blocking calls. 2013-06-08 11:09:39 +01:00
Julien Bouquillon 340931ba8e Update quickstart.rst
rephrase misleading info about `raise_for_status`
2013-05-29 12:57:49 +03:00
giacomo 8781b56a0e Fixed example in authentication docs 2013-05-02 18:16:19 +03:00
Kenneth Reitz 082029ff2e switch streaming requests to httpbin 2013-04-13 15:26:49 -04:00
Mike Helmick ed0242ae3a Fix Advanced docs Twitter Streaming example
Twitter API v1.1 Streaming now requires OAuth Authentication rather than XAuth.
I believe v1 is being blacked out sometime at the beginning of May.
2013-04-11 20:19:51 -04:00
Cory Benfield e5f1053b30 Shell of Transport Adapter documentation. 2013-04-09 20:58:59 +01:00
Sasha Laundy 8ebeb3dc3f Make json error message more specific 2013-04-08 13:03:13 -04:00
sursh dfa59c2d97 Fix markdown 2013-04-08 13:01:02 -03:00
sursh 511cc4c034 Make json error on empty response more specific 2013-04-08 13:00:27 -03:00
Ian Cordasco b9e5cce2d2 Add PreparedRequest recipe to the docs 2013-04-02 10:07:37 -04:00
Pascal Borreli 037b38badb Fixed typos 2013-04-01 18:02:18 +00:00
Markus Wiik 90e109c241 Fix issue #1225 (Documentation: response object status/reason) 2013-03-05 16:18:24 +01:00
David Fischer 38f2581d6f Github URL fix 2013-03-01 20:36:42 -08:00
Thomas Weißschuh b53975327f use explicit scheme for proxies in the docs
Issue #1192 tried to force user to provide a scheme for proxy urls.
As this would break backwards compability change the docs instead.
2013-02-15 16:32:50 +00:00
ekatsah 79727abb32 Update docs/user/advanced.rst
Rephrasing a line in the docs, add explicite mention of "client side certificate" (for indexing and clarity)
2013-01-30 21:22:24 +01:00
Cory Benfield c678a7b402 Small typo fixes. 2013-01-21 19:55:08 +00:00
Cory Benfield d3e6597f73 Update docs with correct cookie behaviour. 2013-01-17 19:28:28 +00:00
Kenneth Reitz 41687c8fa8 v1.1.0 and docs 2013-01-10 02:13:02 -05:00
Kenneth Reitz 47fe258b5a Merge pull request #1085 from graingert/patch-1
Update the advanced doc to use the r.json method
2013-01-07 10:42:14 -08:00
Thomas Grainger 7dc13e5cab Update the link headers doc to match the code 2013-01-04 21:46:14 +00:00
Thomas Grainger 7687746c7c Update the advanced doc to use the r.json method 2013-01-04 21:33:51 +00:00
Ian Cordasco fef09a6691 Remove safe_mode/danger_mode from docs 2012-12-30 19:46:04 -05:00
Kenneth Reitz f1d51aa7eb timeout 2012-12-23 02:45:41 -05:00
Kenneth Reitz 5b5ff69201 update docs 2012-12-23 02:42:14 -05:00
Cory Benfield 1790b1df17 Update session documentation. 2012-12-22 11:03:29 +00:00