Skip to main content

Zope contenttype

Project description

zope.contenttype

A utility module for content-type handling.

Change History

4.0.1 (2013-02-20)

  • Change the file contents argument of guess_content_type from string to bytes. This change has no effect on Python 2.

4.0.0 (2013-02-11)

  • Added some tests for better coverage.

  • Added tox.ini and manifest.

  • Added support for Python 3.3 and PyPy 1.9.

  • Dropped support for Python 2.4 and 2.5.

3.5.5 (2011-07-27)

  • Properly restore the HTML snippet detection, by looking at the entire string and not just its start.

3.5.4 (2011-07-26)

  • Restore detection of HTML snippets from 3.4 series.

3.5.3 (2011-03-18)

  • Added new mime types for web fonts, cache manifest and new media formats.

3.5.2 (2011-02-11)

  • LP #717289: added ‘video/x-m4v’ mimetype for the ‘.m4v’ extension.

3.5.1 (2010-03-23)

  • LP #242321: fix IndexError raised when testing strings consisting solely of leading whitespace.

  • Updated mime-type for .js to be application/javascript.

3.5.0 (2009-10-22)

  • Moved the implementation of zope.publisher.contenttype to zope.contenttype.parse, moved tests along.

3.4.3 (2009-12-28)

  • Updated mime-type for .js to be application/javascript.

3.4.2 (2009-05-28)

3.4.1 (2009-02-04)

3.4.0 (2007-09-13)

  • First stable release as an independent package.

Download

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zope.contenttype-4.0.1.tar.gz (13.9 kB view details)

Uploaded Source

File details

Details for the file zope.contenttype-4.0.1.tar.gz.

File metadata

File hashes

Hashes for zope.contenttype-4.0.1.tar.gz
Algorithm Hash digest
SHA256 9decc7531ad6925057f1a667ac0ef9d658577a92b0b48dafa7daa97b78a02bbb
MD5 171be44753e86742da8c81b3ad008ce0
BLAKE2b-256 53ceef3bcaf9c359aa1707377832636b23d61ae1363e8fff21a8e398d48bab73

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page