Only switch to chunked if we don't know the length of a file like object. This fixes the case of trying to upload a 0-length file - chunked upload was being forced. Services like S3 that disallow chunked upload will fail.
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Jeff Mancuso · committed by Jeff Mancuso · parent 00ab8fb · Browse files · 1 file+2 added−2 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+2 added−2 removed
- other:+2 added−2 removed