diff options
author | darkgallium <darkgallium@deuxfleurs.fr> | 2021-02-17 14:54:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-17 13:54:53 +0000 |
commit | da797c79982bfc5c88be576b8c5d3df60a9088ed (patch) | |
tree | 7a14ec20ff9c5c612c123d65979b314dd91152b2 /clientapi/jsonerror/jsonerror.go | |
parent | 2386e0c7af5b29b3d45373db812204cd720f7f88 (diff) |
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>
Diffstat (limited to 'clientapi/jsonerror/jsonerror.go')
0 files changed, 0 insertions, 0 deletions