Romain Slootmaekers writes:
 > But why the modified mimetypes file has to contain about 40 less 
 > mime-types than the corresponding file in a python installation from 
 > is a mistery to me.

The mimetypes module in general has a problem: the known MIME types
are stored in the source code.  The table in the module has definately
been extended over time; make sure you're looking at the right version
of the module from

The module *tries* to load definitions from known external lists of
MIME types (as would have been installed with Apache or Netscape), but
isn't guaranteed to find these external lists (they not be installed,
or may be installed in atypical locations).

Adding some configuration to Zope to identify additional mime.types
files to load may be a good idea, and should not be too difficult.


Fred L. Drake, Jr.  <fred at>
PythonLabs at Zope Corporation

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to