dendrite/mediaapi/routing
darkgallium da797c7998
Retrieve remote file size without the Content-Size header (#1537)
* Get downloaded file size regardless of the Content-Size header

Signed-off-by: Florian Le Minoux <darkgallium+git@deuxfleurs.fr>

* fixing lint issues

* Don't exhaust memory for large files, don't limit more than necessary

* Don't use errors.Wrap in download.go

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2021-02-17 13:54:53 +00:00
..
download.go Retrieve remote file size without the Content-Size header (#1537) 2021-02-17 13:54:53 +00:00
routing.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
upload.go Retrieve remote file size without the Content-Size header (#1537) 2021-02-17 13:54:53 +00:00