HomePhabricator

Always set 'offset' with chunked uploads, even for first chunk (offset == 0)

Authored by matmarex.

Description

Always set 'offset' with chunked uploads, even for first chunk (offset == 0)

For reasons which are not clear to me omitting offset causes the
upload to fail at Commons with { "code": "badparams", "info": "Must
supply a filekey when offset is non-zero" }. It works for me locally
either way.

Bug: T111908
Change-Id: I370e94ba9a064ca4dcb1e0e3697e0a0b1ec18fac

Details

Committed
MarkTraceurSep 10 2015, 2:23 PM
Parents
rEUWIdf6c189b0ef3: Creating new wmf/1.26wmf22 branch
Branches
Unknown
Tags
Unknown
References
refs/changes/83/237383/1
ChangeId
I370e94ba9a064ca4dcb1e0e3697e0a0b1ec18fac