force progress upload, by using original request content-length
use consts not hardcoded values
Merge pull request #1617 from malczak/force_progress_on_upload

Update progress when using multipart requests