Skip to content
Myr

Merge pull request #1103 from dmckeone/master

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

Restore the ability to use a list of 2-tuples for the data keyword argument with requests.post.

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 440aeca, 35d4a47 · Browse files · 1 file+1 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+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:requests/models.py+1 added
342 unmodified lines
343344 is_stream = all([345 hasattr(data, '__iter__'),346 not isinstance(data, basestring),347 not isinstance(data, list),348 not isinstance(data, dict)349 ])350351 try:
308 unmodified lines