Skip to content
Myr

Merge pull request #1230 from davidfischer/trivial-docs-fix

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Github URL fix

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 08cab48, 38f2581 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/user/quickstart.rst+1 added-1 removed
139 unmodified lines
140In the rare case that you'd like to get the raw socket response from the141server, you can access ``r.raw``. If you want to do this, make sure you set142``stream=True`` in your initial request. Once you do, you can do this::143144 >>> r = requests.get('https:/github.com/timeline.json', stream=True)144 >>> r = requests.get('https://github.com/timeline.json', stream=True)145 >>> r.raw146 <requests.packages.urllib3.response.HTTPResponse object at 0x101194810>147 >>> r.raw.read(10)148 '\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\x03'
268 unmodified lines