From: Kenneth Reitz Date: Thu, 1 Aug 2013 01:25:57 +0000 (-0400) Subject: Merge branch 'keytype' of git://github.com/Lukasa/requests into 2.0 X-Git-Tag: v2.0~5^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1a6637c2859d4051144050f60d555657d38a010c;p=services%2Fpython-requests.git Merge branch 'keytype' of git://github.com/Lukasa/requests into 2.0 --- 1a6637c2859d4051144050f60d555657d38a010c diff --cc requests/models.py index 1a6ac72,10fa1f0..ee9c329 --- a/requests/models.py +++ b/requests/models.py @@@ -25,10 -23,10 +25,10 @@@ from .exceptions import from .utils import ( guess_filename, get_auth_from_url, requote_uri, stream_decode_response_unicode, to_key_val_list, parse_header_links, - iter_slices, guess_json_utf, super_len) + iter_slices, guess_json_utf, super_len, to_native_string) from .compat import ( cookielib, urlunparse, urlsplit, urlencode, str, bytes, StringIO, - is_py2, chardet, json, builtin_str, basestring) + is_py2, chardet, json, builtin_str, basestring, IncompleteRead) CONTENT_CHUNK_SIZE = 10 * 1024 ITER_CHUNK_SIZE = 512