You are here: Home / LBN / Up2date / Plone and Zope / BastionLinux 25 / zope.mimetype-2.1.0-1.lbn25.noarch

zope.mimetype-2.1.0-1.lbn25.noarch

Package Attributes
RPM  zope.mimetype-2.1.0-1.lbn25.noarch.rpm Architecture  noarch Size  257779 Created  2023/06/18 05:08:49 UTC
Package Specification
Summary A simple package for working with MIME content types
Group Application/Internet
License ZPL
Home Page http://pypi.python.org/packages/source/z/zope.mimetype/zope.mimetype-2.1.0.tar.gz
Description

This 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. The Zope MIME Infrastructure

This 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.

The basic idea behind this is that content objects should provide an interface based on the actual content type they implement. For example, objects that represent text/xml or application/xml documents should be marked mark with the IContentTypeXml interface. This can allow additional views to be registered based on the content type, or subscribers may be registered to perform other actions based on the content type.

One aspect of the content type that’s important for all documents is that the content type interface determines whether the object data is interpreted as an encoded text document. Encoded text documents, in particular, can be decoded to obtain a single Unicode string. The content type intefaces for encoded text must derive from IContentTypeEncoded. (All content type interfaces derive from IContentType and directly provide IContentTypeInterface.)

The default configuration provides direct support for a variety of common document types found in office environments.

Requires
rpmlib(PayloadFilesHavePrefix)  
python  
/bin/sh  
rpmlib(FileDigests)  
rpmlib(PartialHardlinkSets)  
rpmlib(PayloadIsXz)  
rpmlib(CompressedFileNames)  
Provides
python2.7dist(zope.mimetype)
python2dist(zope.mimetype)
zope.mimetype
Obsoletes
zope.mimetype-egginfo

Document Actions