mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Merge pull request #1230 from davidfischer/trivial-docs-fix
Github URL fix
This commit is contained in:
@@ -141,7 +141,7 @@ In the rare case that you'd like to get the raw socket response from the
|
||||
server, you can access ``r.raw``. If you want to do this, make sure you set
|
||||
``stream=True`` in your initial request. Once you do, you can do this::
|
||||
|
||||
>>> r = requests.get('https:/github.com/timeline.json', stream=True)
|
||||
>>> r = requests.get('https://github.com/timeline.json', stream=True)
|
||||
>>> r.raw
|
||||
<requests.packages.urllib3.response.HTTPResponse object at 0x101194810>
|
||||
>>> r.raw.read(10)
|
||||
|
||||
Reference in New Issue
Block a user