transfer.sh/server
Farhan Khursheed 31ad4e01e1
Fixed improper implementation of content type (#501)
* Fixed improper implementation of content type

Add text/plain content type if metadata.ContentType is unable to determine the content type of the file

* Update server/handlers.go

Co-authored-by: Farhan Khursheed <41877347+blind-intruder@users.noreply.github.com>

* Update handlers.go

let's trim space

* Update handlers.go

Co-authored-by: Andrea Spacca <andrea.spacca@gmail.com>
2022-08-20 15:29:52 +02:00
..
storage all: update gdrive client and various linting cleanups (#497) 2022-07-14 18:02:18 +02:00
clamav.go all: update gdrive client and various linting cleanups (#497) 2022-07-14 18:02:18 +02:00
handlers.go Fixed improper implementation of content type (#501) 2022-08-20 15:29:52 +02:00
handlers_test.go Golint (#404) 2021-08-19 22:45:30 +02:00
ip_filter.go all: update gdrive client and various linting cleanups (#497) 2022-07-14 18:02:18 +02:00
server.go all: update gdrive client and various linting cleanups (#497) 2022-07-14 18:02:18 +02: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