Skip to content
Myr

Merge pull request #1508 from dieterv/master

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

remove duplicate comment

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 22701d1, 852de11 · Browse files · 1 file+0 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+0 added−3 removed

  • other:+0 added−3 removed

1 file+0 added−3 removed

modified:requests/models.py-3 removed
397 unmodified lines
398 if length is not None:399 self.headers['Content-Length'] = str(length)400 else:401 self.headers['Transfer-Encoding'] = 'chunked'402 # Check if file, fo, generator, iterator.403 # If not, run through normal process.404402 else:403 # Multi-part file uploads.404 if files:405 (body, content_type) = self._encode_files(files, data)
317 unmodified lines