Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.4.0
-
None
-
Android client
Description
FileTransfer does not set the Content-Length header even when known, which causes Amazon S3 to return HTML Code 411 (Length Required).
Adding the following lines after line 328 solves the problem:
if (fixedLength >= 0)
(Haven't tested on iOS, but see that iOS does have code to set Content-Length.)
Attachments
Issue Links
- is related to
-
CB-2431 Use OkHttp library to work around bugs.
- Closed