Hi Romain,

 > Yo,
 > Zope doesn't know enough mime types, and there's no easy way to add them 
 > add runtime since you removed the add_type(...) method from mimetypes.py

 Who is "you" which has removed the function? I guess mimetypes 
is a core python module ...

Anyway if You feel the need to add content types to the global
mimetypes map, You can do this manually in Your custom product
__init__.py, e.g.:

from mimetypes import types_map
types_map['.ra'] = 'audio/x-pn-realaudio'
# etcetcetc

I guess this is not worse than letting Zope to the patches.


Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to