Utility module for handling MIMEtypes, particularly the 'Content-Type' HTTP header
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
src/zope
.coveragerc
.gitignore
.travis.yml
CHANGES.rst
COPYRIGHT.txt
LICENSE.txt
MANIFEST.in
README.rst
bootstrap.py
buildout.cfg
setup.cfg
setup.py
tox.ini

README.rst

zope.contenttype

Latest release Supported Python versions https://travis-ci.org/zopefoundation/zope.contenttype.svg?branch=master https://coveralls.io/repos/github/zopefoundation/zope.contenttype/badge.svg?branch=master 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/