EbookFoundation / regluit

webapp for unglue.it
http://unglue.it
Other
50 stars 17 forks source link

set s3 mim-types on uploaded files #18

Open eshellman opened 7 years ago

eshellman commented 7 years ago

seems like all the binary files I upload to s3 via unglue.it are served with binary/octetstream. Should check to see if this is suboptimal. you can set the content-type of S3 objects...eg., https://github.com/Gluejar/regluit/blob/e9ddbf98c028aeda8d2d82285a4b4466568b7015/core/doab.py#L37