Skip to content

Commit

Permalink
Merge pull request #89 from Calzzetta/master
Browse files Browse the repository at this point in the history
fix for integer Content-Length header requests >= 2.11.0
  • Loading branch information
Sventour authored Aug 25, 2016
2 parents dd72c53 + b953b7e commit 3b99aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vimeo/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def _make_pass(self, upload_target, f, size, last_byte):
upload_target,
timeout=None,
headers={
'Content-Length': size,
'Content-Length': str(size),
'Content-Range': 'bytes: %d-%d/%d' % (last_byte, size, size)
}, data=f)

Expand Down

0 comments on commit 3b99aa5

Please sign in to comment.