Package: zope.mimetype
zope.mimetypeThis package provides a way to work with MIME content types.  There
are several interfaces defined here, many of which are used primarily
to look things up based on different bits of information.See complete documentation athttps://zopemimetype.readthedocs.io/en/latest/Changes3.1 (2024-02-08)Add support for Python 3.12.3.0 (2023-02-27)Add support for Python 3.9, 3.10, 3.11.Drop support for Python 2.7, 3.5, 3.6.Drop support for deprecatedpython setup.py test.2.5.1 (2021-04-15)Fix test compatibility with zope.interface 5.4.2.5.0 (2020-03-30)Add support for Python 3.8.Drop support for Python 3.4.Ensure all objects have consistent interface resolution orders. Seeissue 17.2.4.0 (2018-10-16)Add support for Python 3.7.Fix DeprecationWarnings forIObjectEventandObjectEventby
importing them fromzope.interface.interfaces. Seeissue 14.2.3.2 (2018-07-30)Documentation was moved tohttps://zopemimetype.readthedocs.ioFix an AttributeError accessing thepreferredCharsetof anICodecTermwhen noICodecPreferredCharsetwas registered.Reach and automatically require 100% test coverage.2.3.1 (2018-01-09)Only try to register the browser stuff in the ZCA whenzope.formlibis
available as it breaks otherwise.2.3.0 (2017-09-28)Drop support for Python 3.3.Move the dependencies onzope.browser,zope.publisherandzope.formlib(only needed to use thesourceandwidgetmodules) into a newbrowserextra.
SeePR 8.2.2.0 (2017-04-24)Fixissue 6:typegetter.smartMimeTypeGuesserwould raiseTypeErroron Python 3
when the data wasbytesand thecontent_typewastext/html.Add support for Python 3.6.2.1.0 (2016-08-09)Add support for Python 3.5.Drop support for Python 2.6.Fix configuring the package via its included ZCML on Python 3.2.0.0 (2014-12-24)Add support for PyPy and PyPy3.Add support for Python 3.4.Restore the ability to writefrom zope.mimetype import types.Makeconfigure.zcmlrespect the renaming of thetypesmodule
so that it can be loaded.2.0.0a1 (2013-02-27)Add support for Python 3.3.Replace deprecatedzope.component.adaptsusage with equivalentzope.component.adapterdecorator.Replace deprecatedzope.interface.implementsusage with equivalentzope.interface.implementerdecorator.Renamezope.mimetype.typestozope.mimetype.mtypes.Drop support for Python 2.4 and 2.5.1.3.1 (2010-11-10)No longer dependg onzope.app.forminconfigure.zcmlby usingzope.formlibinstead, where the needed interfaces are living now.1.3.0 (2010-06-26)Add testing dependency onzope.component[test].Use zope.formlib instead of zope.app.form.browser for select widget.Conform to repository policy.1.2.0 (2009-12-26)Convert functional tests to unit tests and get rid of all extra test
dependencies as a result.Use the ITerms interface from zope.browser.Declare missing dependencies, resolved direct dependency on
zope.app.publisher.Import content-type parser fromzope.contenttype, adding a dependency on
that package.1.1.2 (2009-05-22)No longer depend onzope.app.component.1.1.1 (2009-04-03)Fix wrong package version (version1.1.0was released as0.4.0atpypibut as1.1devatdownload.zope.org/distribution)Fix author email and home page address.1.1.0 (2007-11-01)Package data update.First public release.1.0.0 (2007-??-??)Initial release.