inveniosoftware / invenio-files-rest

REST API for uploading/downloading files for Invenio.
https://invenio-files-rest.readthedocs.io
MIT License
9 stars 67 forks source link

utils: add fallback mimetype #301

Closed jrcastro2 closed 9 months ago

jrcastro2 commented 10 months ago
jrcastro2 commented 9 months ago

Not required anymore as we agreed to hardcode the default mimetype

slint commented 9 months ago

Just to clarify, I'm against moving this to config since IMHO it's a constant, and I also agree that introducing it in utils.py as FALLBACK_MIMETYPE might have been a "brittle" solution.