summaryrefslogtreecommitdiff
path: root/docs/user
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.org>2017-05-29 13:17:57 -0400
committerKenneth Reitz <me@kennethreitz.org>2017-05-29 13:17:57 -0400
commit916d171f2bf01155f2c115159ec475e8d76a690b (patch)
treefc8b6743e9181850910a3c692970cff616ebee90 /docs/user
parent3857431159b56707965f9abce581e6ab0694604b (diff)
parent4ad46705834955b872da1257b1de4feb5a8a51b3 (diff)
downloadpython-requests-2.16.0.tar.gz
Merge branch 'master' of github.com:kennethreitz/requestsv2.17.02.16.0
Diffstat (limited to 'docs/user')
-rw-r--r--docs/user/advanced.rst12
-rw-r--r--docs/user/install.rst2
2 files changed, 7 insertions, 7 deletions
diff --git a/docs/user/advanced.rst b/docs/user/advanced.rst
index b7775f24..2aac434c 100644
--- a/docs/user/advanced.rst
+++ b/docs/user/advanced.rst
@@ -280,7 +280,7 @@ immediately. You can override this behaviour and defer downloading the response
body until you access the :attr:`Response.content <requests.Response.content>`
attribute with the ``stream`` parameter::
- tarball_url = 'https://github.com/kennethreitz/requests/tarball/master'
+ tarball_url = 'https://github.com/requests/requests/tarball/master'
r = requests.get(tarball_url, stream=True)
At this point only the response headers have been downloaded and the connection
@@ -642,7 +642,7 @@ from GitHub. Suppose we wanted commit ``a050faf`` on Requests. We would get it
like so::
>>> import requests
- >>> r = requests.get('https://api.github.com/repos/kennethreitz/requests/git/commits/a050faf084662f3a352dd1a941f2c7c9f886d4ad')
+ >>> r = requests.get('https://api.github.com/repos/requests/requests/git/commits/a050faf084662f3a352dd1a941f2c7c9f886d4ad')
We should confirm that GitHub responded correctly. If it has, we want to work
out what type of content it is. Do this like so::
@@ -697,12 +697,12 @@ we should probably avoid making ham-handed POSTS to it. Instead, let's play
with the Issues feature of GitHub.
This documentation was added in response to
-`Issue #482 <https://github.com/kennethreitz/requests/issues/482>`_. Given that
+`Issue #482 <https://github.com/requests/requests/issues/482>`_. Given that
this issue already exists, we will use it as an example. Let's start by getting it.
::
- >>> r = requests.get('https://api.github.com/repos/kennethreitz/requests/issues/482')
+ >>> r = requests.get('https://api.github.com/repos/requests/requests/issues/482')
>>> r.status_code
200
@@ -745,7 +745,7 @@ is to POST to the thread. Let's do it.
::
>>> body = json.dumps({u"body": u"Sounds great! I'll get right on it!"})
- >>> url = u"https://api.github.com/repos/kennethreitz/requests/issues/482/comments"
+ >>> url = u"https://api.github.com/repos/requests/requests/issues/482/comments"
>>> r = requests.post(url=url, data=body)
>>> r.status_code
@@ -779,7 +779,7 @@ that.
5804413
>>> body = json.dumps({u"body": u"Sounds great! I'll get right on it once I feed my cat."})
- >>> url = u"https://api.github.com/repos/kennethreitz/requests/issues/comments/5804413"
+ >>> url = u"https://api.github.com/repos/requests/requests/issues/comments/5804413"
>>> r = requests.patch(url=url, data=body, auth=auth)
>>> r.status_code
diff --git a/docs/user/install.rst b/docs/user/install.rst
index 922c489b..96884558 100644
--- a/docs/user/install.rst
+++ b/docs/user/install.rst
@@ -22,7 +22,7 @@ Get the Source Code
-------------------
Requests is actively developed on GitHub, where the code is
-`always available <https://github.com/kennethreitz/requests>`_.
+`always available <https://github.com/requests/requests>`_.
You can either clone the public repository::