transfer.sh/server/storage
Andrea Spacca 28fc9c73f5
Lint accept range (#535)
* Support Range header for GET

* Adds 'Accept-Ranges: bytes' header to handlers

* proper param name in error

* bump gdrive dependecies

* refactor CloseCheck to avoid panic on nil, remove range/audio/video special handling on get handler

* refactor CloseCheck to avoid panic on nil, handle range with no limit

* refactor CloseCheck to avoid panic on nil, handle range in gdrive storage

* refactor CloseCheck to avoid panic on nil

* handle range with no limit

* lint

* bump deps

* go mod tidy

* gofmt

* cr fixes, replace deprecated ioutil.NopCloser

* linting

* do not write to file by default

* fix storj

---------

Co-authored-by: Vladislav Grubov <vladgrubov@gmail.com>
2023-03-11 01:41:43 +09:00
..
common.go Lint accept range (#535) 2023-03-11 01:41:43 +09:00
gdrive.go Lint accept range (#535) 2023-03-11 01:41:43 +09:00
local.go Lint accept range (#535) 2023-03-11 01:41:43 +09:00
s3.go Lint accept range (#535) 2023-03-11 01:41:43 +09:00
storj.go Lint accept range (#535) 2023-03-11 01:41:43 +09:00