[Zope-dev] Proposal: cleaning up the content-type story

Thomas Lotze tl at gocept.com
Tue Oct 6 06:10:44 EDT 2009


Martin Aspeli wrote:

> Thomas Lotze wrote:
> 
>> - zope.contenttype: parsing of MIME-type identifiers, guessing the MIME
>>   type of file contents, preferrably without dependencies within the ZTK
> 
> Can I suggest that we use a different name? 'content type' to me sounds
> like CMS-y functionality. We have interfaces like IContentType and methods
> like queryContentType, neither of which would be relevant to
> zope.contenttype. :)
> 
> Maybe zope.mimeparsing or something like that?

Fine with me.

OTOH, there's also good reason to talk about content types since at least
the relevant RfCs talk about the kind of strings being parsed mostly
(only?) in the context of the Content-Type header field. Personally, I
don't care enough to risk bike-shedding about this, though.

-- 
Thomas





More information about the Zope-Dev mailing list