On Thu, Feb 21, 2008 at 9:31 AM, Chris Withers <[EMAIL PROTECTED]> wrote:
> Do I remember rightly that there's a zope.contenttype these could be
> moved to?
You do, though I didn't. :-)
zope.contenttype is a copy/hack of an older version of the mimetypes
module from Python's standard library. I'm not sure it's a *good*
place to put the functions, but it's probably better than
zope.publisher.contenttype would need to remain for compatibility, but
should be able to simply import the functions from zope.contenttype.
I'll suggest the just copying the implementation module to
zope.contenttype.parser. :-) There are tests that will need to be
copied as well.
Fred L. Drake, Jr. <fdrake at gmail.com>
"Chaos is the score upon which reality is written." --Henry Miller
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -