◐ Shell
clean mode source ↗

Message 5308 - Python tracker

Zope users sometimes asks to add
additional mime.types entries to Zope. 
Zopes mime-types handling is mostly 
based on mimetypes.py. In such cases
users should be able to maintain their
own mime.types files. 

mimetypes.py currently tries to look
for mime.types files in 4 hardcoded locations.

It would be more convinient to specify
additional locations e.g. by an env. var
that holds a list of additional locations
or by any other mechanism that allows user-defined
locations. 

The hardcoded locations also don't work on
Windows.