Skip to content
Myr

Merge remote-tracking branch 'origin/develop' into develop

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

authored by Kenneth Reitz · committed by Kenneth Reitz · parents c9b4920, 3c58600 · Browse files · 2 files+10 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

2 files+10 added−1 removed

  • other:+10 added−1 removed

2 files+10 added−1 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
modified:requests/utils.py+3 added-1 removed
48 unmodified lines
49 if _netrc:50 # Return with login / password51 login_i = (0 if _netrc[0] else 1)52 return (_netrc[login_i], _netrc[2])53 except NetrcParseError:53 except NetrcParseError, IOError:54 # If there was a parsing error or a permissions issue reading the file,55 # we'll just skip netrc auth56 pass575859def dict_from_string(s):
399 unmodified lines