ZCML File
configure.zcml
[top]
/
zope
/
app
/
publication
/ configure.zcml
<
configure
xmlns
="
http://namespaces.zope.org/zope
"
xmlns:browser
="
http://namespaces.zope.org/browser
"
>
<
view
for
="
zope.interface.Interface
"
permission
="
zope.Public
"
allowed_interface
="
zope.publisher.interfaces.browser.IBrowserPublisher
"
provides
="
zope.publisher.interfaces.browser.IBrowserPublisher
"
type
="
zope.publisher.interfaces.browser.IBrowserRequest
"
factory
="
zope.app.publication.traversers.SimpleComponentTraverser
"
/>
<
adapter
factory
="
zope.app.publication.traversers.NoTraverser
"
provides
="
zope.publisher.interfaces.browser.IBrowserPublisher
"
for
="
types.MethodType
zope.publisher.interfaces.browser.IBrowserRequest
"
/>
<
browser:view
class
="
zope.app.publication.traversers.FileContentTraverser
"
permission
="
zope.Public
"
for
="
zope.app.publication.interfaces.IFileContent
"
provides
="
zope.publisher.interfaces.browser.IBrowserPublisher
"
/>
<
publisher
name
="
SOAP
"
factory
="
.requestpublicationfactories.SOAPFactory
"
methods
="
POST
"
mimetypes
="
text/xml
"
priority
="
30
"
/>
<
publisher
name
="
XMLRPC
"
factory
="
.requestpublicationfactories.XMLRPCFactory
"
methods
="
POST
"
mimetypes
="
text/xml
"
priority
="
20
"
/>
<
publisher
name
="
BROWSER
"
factory
="
.requestpublicationfactories.BrowserFactory
"
methods
="
GET POST HEAD
"
mimetypes
="
*
"
priority
="
10
"
/>
<
publisher
name
="
HTTP
"
factory
="
.requestpublicationfactories.HTTPFactory
"
methods
="
*
"
mimetypes
="
*
"
priority
="
0
"
/>
</
configure
>