[Zope3-checkins] CVS: Zope3/src/zope/app/xmlrpc - __init__.py:1.1 configure.zcml:1.1

Jim Fulton jim@zope.com
Fri, 7 Feb 2003 10:59:48 -0500


Update of /cvs-repository/Zope3/src/zope/app/xmlrpc
In directory cvs.zope.org:/tmp/cvs-serv24670/src/zope/app/xmlrpc

Added Files:
	__init__.py configure.zcml 
Log Message:
Implemented HTTP PUT. Do do this, I had to:

- Implement working HTTP publication, request, response

- Change the server setup so that rather than having a Browser
  server and an XML-RPC server, there is an HTTP server that 
  uses:

  o Browser request, response, and publication for browser (GET, POST, 
    and HEAD) requests,

  o XMLRPC request, response, and publication for xml-rpc (POST 
    w content-type=='text/xml') requests,

  o HTTP request, response, and publication for all other HTTP requests.

  XML-RPC now runs on the same port, 8080, as browser requests.

- Implemented HEAD.

- Implemented some simple PUT views that use the
  file-system-reprentation adapter framework. (This is the replacement
  for VFS that is also used by FTP and may be used as part of
  file-system synchronization.) 
  



=== Added File Zope3/src/zope/app/xmlrpc/__init__.py ===
#
# This file is necessary to make this directory a package.


=== Added File Zope3/src/zope/app/xmlrpc/configure.zcml ===
<zopeConfigure
   xmlns='http://namespaces.zope.org/zope'
   xmlns:xmlrpc='http://namespaces.zope.org/xmlrpc'
   >

<xmlrpc:view 
    name="_traverse" 
    for="zope.interface.Interface"
    factory="zope.app.publication.traversers.SimpleComponentTraverser" 
    />

<xmlrpc:view
    name="_traverse" 
    for="zope.app.interfaces.container.IItemContainer"
    factory="zope.app.container.traversal.ItemTraverser" 
    />

<xmlrpc:view
    name="_traverse" 
    for="zope.app.interfaces.container.IReadContainer"
    factory="zope.app.container.traversal.ContainerTraverser" 
    />

</zopeConfigure>