Skip to content

Commit

Permalink
Merge pull request psf#1121 from Lukasa/typo
Browse files Browse the repository at this point in the history
Small typo fixes.
  • Loading branch information
Kenneth Reitz committed Jan 22, 2013
2 parents 3bf4660 + c678a7b commit 47aa968
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/user/advanced.rst
Expand Up @@ -144,7 +144,7 @@ Streaming Uploads
Requests 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::

with open('massive-body') as f:
request.post('http://some.url/streamed', data=f)
requests.post('http://some.url/streamed', data=f)


Chunk-Encoded Requests
Expand All @@ -157,7 +157,7 @@ Requests also supports Chunked transfer encoding for outgoing and incoming reque
yield 'hi'
yield 'there'

request.post('http://some.url/chunked', data=gen())
requests.post('http://some.url/chunked', data=gen())


Event Hooks
Expand Down

0 comments on commit 47aa968

Please sign in to comment.