Hi Peter,
as a co-maintainer of django-filer I experienced similar problems. Often
you can not rely on the MIME-type provided by the uploading browser.
In your situation, one possible solution would be to guess the MIME-type by
looking at the magic header of the received file.
For this purpose y
Hi Peter.
There's a note already for this exact issue in the staticfiles docs.
https://docs.djangoproject.com/en/3.1/ref/contrib/staticfiles/#django.contrib.staticfiles.views.serve
It mentions Red-Hat and Debian, but it would be reasonable to add a pointer
for Windows users too.
Beyond that
Hi list,
When developing on Windows I was recently bit by Windows providing wrong
MIME type mappings for file names. I filed a ticked for that which has more
details [1], but given it was summarily closed as not a bug in Django I
wanted to see if there were broader opinions on the matter.
[1]