Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-16 | Fix upload of remote media with OpenStack Swift sometimes failing (#16998) | Claire | |
Under certain conditions, files fetched from remotes trigger an error when being uploaded using OpenStack Swift. This is because in some cases, the remote server will not return a content-length, so our ResponseWithLimitAdapter will hold a `nil` value for `#size`, which will lead to an invalid value for the Content-Length header of the Swift API call. This commit fixes that by taking the size from the actually-downloaded file size rather than the upstream-provided Content-Length header value. | |||
2020-09-27 | Fix downloading remote media files when server returns empty filename (#14867) | ThibG | |
Fixes #14817 | |||
2020-08-02 | Change content-type to be always computed from file data (#14452) | ThibG | |
* Change content-type to be always computed from file data Restore previous behavior, detecting the content-type isn't very expensive, and some instances may serve files as application/octet-stream regardless of their true type, making fetching media from them fail, while it used to work pre-3.2.0. * Add test | |||
2020-06-30 | Fix remote files not using Content-Type header, streaming (#14184) | Eugen Rochko | |