plik icon indicating copy to clipboard operation
plik copied to clipboard

.pptx files sent with wrong content-type

Open wolruf opened this issue 8 years ago • 2 comments

Hello, downloading file from plik.root.gg with the .pptx extension, you get a content-type:application/zip image001

wolruf avatar Sep 09 '16 14:09 wolruf

Plik use golang http mime sniffer to resolve content types https://golang.org/pkg/net/http/#DetectContentType

We investigate if we can extend that behavior of if a better solution can be found but for now nothing straightforward stands out. http://stackoverflow.com/questions/29838185/how-to-detect-additional-mime-type-in-golang

camathieu avatar Sep 12 '16 14:09 camathieu

Looks likes new libraries are available today :)

camathieu avatar Oct 04 '18 14:10 camathieu