[top] / zope / contenttype / text_type
text_type(s)
See if we can figure out the type by content. We may want this to be efficient for WebDAV et al.