Allow passing a file or file-like object as data.
Before adoption: this commit came in with the history the project adopted, so no landing records it.
The underlying httplib already allows passing an open file object as body to its HTTPConnection.request method. I think requests should allow that as well.
authored by Torsten Landschoff · committed by Torsten Landschoff · parent c0ae3dd · Browse files · 2 files+25 added−2 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+25 added−2 removed
- tests:+21 added−0 removed
- other:+4 added−2 removed