====================== ``zope.contenttype`` ====================== .. image:: https://img.shields.io/pypi/v/zope.contenttype.svg :target: https://pypi.python.org/pypi/zope.contenttype/ :alt: Latest release .. image:: https://img.shields.io/pypi/pyversions/zope.contenttype.svg :target: https://pypi.org/project/zope.contenttype/ :alt: Supported Python versions .. image:: https://github.com/zopefoundation/zope.contenttype/actions/workflows/tests.yml/badge.svg :target: https://github.com/zopefoundation/zope.contenttype/actions/workflows/tests.yml .. image:: https://coveralls.io/repos/github/zopefoundation/zope.contenttype/badge.svg?branch=master :target: https://coveralls.io/github/zopefoundation/zope.contenttype?branch=master .. image:: https://readthedocs.org/projects/zopecontenttype/badge/?version=latest :target: https://zopecontenttype.readthedocs.io/en/latest/ :alt: Documentation Status A utility module for content-type (MIME type) handling. Functions include: - Guessing a content type given a name and (optional) body data. - Guessing a content type given some text. - Parsing MIME types. Documentation is hosted at https://zopecontenttype.readthedocs.io/en/latest/