transfer.sh/server
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
..
storage Lint accept range (#535) 2023-03-11 01:41:43 +09:00
clamav.go all: update gdrive client and various linting cleanups (#497) 2022-07-14 18:02:18 +02:00
handlers.go Lint accept range (#535) 2023-03-11 01:41:43 +09:00
handlers_test.go Golint (#404) 2021-08-19 22:45:30 +02:00
ip_filter.go Lint accept range (#535) 2023-03-11 01:41:43 +09:00
server.go min go version 1.18, include tip for test (#532) 2023-03-01 21:51:24 +09:00
token.go Golint (#404) 2021-08-19 22:45:30 +02:00
token_test.go Golint (#404) 2021-08-19 22:45:30 +02:00
utils.go all: update gdrive client and various linting cleanups (#497) 2022-07-14 18:02:18 +02:00
virustotal.go all: update gdrive client and various linting cleanups (#497) 2022-07-14 18:02:18 +02:00