/usr/share/pyshared/zope/mimetype/configure.zcml is in python-zope.mimetype 1.3.1-0ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 32 33 34 35 36 37 38 39 40 41 42 | <configure
xmlns="http://namespaces.zope.org/zope"
i18n_domain="zope.mimetype">
<mimeTypes
module=".types"
file="types.csv"
/>
<utility
provides=".interfaces.IMimeTypeGetter"
component=".typegetter.smartMimeTypeGuesser"
/>
<utility
provides=".interfaces.ICharsetGetter"
component=".typegetter.charsetGetter"
/>
<adapter factory=".contentinfo.ContentInfo"/>
<adapter factory=".source.CodecTerms"/>
<adapter factory=".source.ContentTypeTerms"/>
<view
type="zope.publisher.interfaces.browser.IBrowserRequest"
for="zope.schema.interfaces.IChoice
zope.mimetype.interfaces.ICodecSource"
provides="zope.formlib.interfaces.IInputWidget"
factory=".widget.TranslatableSourceDropdownWidget"
permission="zope.Public"
/>
<view
type="zope.publisher.interfaces.browser.IBrowserRequest"
for="zope.schema.interfaces.IChoice
zope.mimetype.interfaces.IContentTypeSource"
provides="zope.formlib.interfaces.IInputWidget"
factory=".widget.TranslatableSourceDropdownWidget"
permission="zope.Public"
/>
</configure>
|