projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9473f15
)
remove duplicate comment
author
Dieter Verfaillie
<dieterv@optionexplicit.be>
Wed, 31 Jul 2013 07:29:24 +0000
(09:29 +0200)
committer
Dieter Verfaillie
<dieterv@optionexplicit.be>
Wed, 31 Jul 2013 07:29:24 +0000
(09:29 +0200)
This is already mentioned at line 357...
requests/models.py
patch
|
blob
|
history
diff --git
a/requests/models.py
b/requests/models.py
index
2439153
..
15a0777
100644
(file)
--- a/
requests/models.py
+++ b/
requests/models.py
@@
-384,9
+384,6
@@
class PreparedRequest(RequestEncodingMixin, RequestHooksMixin):
self.headers['Content-Length'] = str(length)
else:
self.headers['Transfer-Encoding'] = 'chunked'
- # Check if file, fo, generator, iterator.
- # If not, run through normal process.
-
else:
# Multi-part file uploads.
if files: