summaryrefslogtreecommitdiff
path: root/README.rst
blob: 665260d9bfad60aa9556d67747b894fa7a2cf1ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
======================
 ``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/