Skip to content
Myr

Merge pull request #1121 from Lukasa/typo

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

Small typo fixes.

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 3bf4660, c678a7b · Browse files · 1 file+2 added−2 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+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:docs/user/advanced.rst+2 added-2 removed
142 unmodified lines
143144Requests supports streaming uploads, which allow you to send large streams or files without reading them into memory. To stream and upload, simply provide a file-like object for your body::145146 with open('massive-body') as f:147 request.post('http://some.url/streamed', data=f)147 requests.post('http://some.url/streamed', data=f)148149150Chunk-Encoded Requests151----------------------
4 unmodified lines
156 def gen():157 yield 'hi'158 yield 'there'159160 request.post('http://some.url/chunked', data=gen())160 requests.post('http://some.url/chunked', data=gen())161162163Event Hooks164-----------
341 unmodified lines