Skip to content
Myr

Added StringIO/Image example to quickstart documentation.

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

authored by Danilo Bargen · committed by Danilo Bargen · parent 793d314 · Browse files · 1 file+7 added−0 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+7 added−0 removed

  • other:+7 added−0 removed

1 file+7 added−0 removed

modified:docs/user/quickstart.rst+7 added
57 unmodified lines
58 b'[{"repository":{"open_issues":0,"url":"https://github.com/...5960The ``gzip`` and ``deflate`` transfer-encodings are automatically decoded for you.6162For example to create an image from binary data returned by a request, you can63use the following code:6465 >>> from PIL import Image66 >>> from StringIO import StringIO67 >>> i = Image.open(StringIO(r.content))686970Raw Response Content71--------------------7273In the rare case that you'd like to get the absolute raw socket response from the server,
333 unmodified lines