zope.mimetype keeps track of this information, fwiw. http://svn.zope.org/zope.mimetype/trunk/src/zope/mimetype . It could be used for this kind of check: it keeps track of what mimetypes are encodable.
zope.mimetype keeps track of this information, fwiw. http:// svn.zope. org/zope. mimetype/ trunk/src/ zope/mimetype . It could be used for this kind of check: it keeps track of what mimetypes are encodable.