From: Cory Benfield Date: Mon, 21 Jan 2013 19:55:08 +0000 (+0000) Subject: Small typo fixes. X-Git-Tag: v1.2.0~78^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c678a7b4026bbb7bebbae836017f67114d463e79;p=services%2Fpython-requests.git Small typo fixes. --- diff --git a/docs/user/advanced.rst b/docs/user/advanced.rst index 51cef7e..c700090 100644 --- a/docs/user/advanced.rst +++ b/docs/user/advanced.rst @@ -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 @@ -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