Skip to content
Myr

removed poor code

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 · parent 3475399 · Browse files · 1 file+2 added−3 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+2 added−3 removed

  • other:+2 added−3 removed

1 file+2 added−3 removed

modified:requests/models.py+2 added-3 removed
40 unmodified lines
41 codes.other, # 30342 codes.temporary_redirect, # 30743 codes.permanent_redirect, # 30844)4546DEFAULT_REDIRECT_LIMIT = 3047CONTENT_CHUNK_SIZE = 10 * 102448ITER_CHUNK_SIZE = 5124949json_dumps = json.dumps505151class RequestEncodingMixin(object):52 @property53 def path_url(self):54 """Build the path URL to use."""
368 unmodified lines
423 length = None424425 if json is not None:426 content_type = 'application/json'428 body = json_dumps(json)427 body = json.dumps(json)428429 is_stream = all([430 hasattr(data, '__iter__'),431 not isinstance(data, (basestring, list, tuple, dict))
423 unmodified lines