[Zope-Checkins] CVS: Zope/lib/python/ZPublisher/WebDAV - __init__.py:1.1.2.1 webdav.py:1.1.2.1

Jim Fulton jim@zope.com
Thu, 25 Oct 2001 12:34:47 -0400


Update of /cvs-repository/Zope/lib/python/ZPublisher/WebDAV
In directory cvs.zope.org:/tmp/cvs-serv28851/lib/python/ZPublisher/WebDAV

Added Files:
      Tag: ComponentArchitecture-branch
	__init__.py webdav.py 
Log Message:
Various changes (in progress) to reflect tutorial.
Checking in to sync with Shane.



=== Added File Zope/lib/python/ZPublisher/WebDAV/__init__.py ===
from webdav import WebDAVPublish, BaseLeafWebDAVPublish


=== Added File Zope/lib/python/ZPublisher/WebDAV/webdav.py ===


import Interface


class WebDAVPublish (Interface.Base):

    def _webdav_traverse(request, name):
        """
        """

    def manage_FTPget():
        """
        """

    def PUT():
        """
        """

class BaseLeafWebDAVPublish:

    __implements__ = WebDAVPublish

    def _webdav_traverse(self, request, name):
        """
        This is called with the name of a method such as 'manage_FTPget'.
        """
        return getattr(self, name)

    def manage_FTPget(self):
        """
        """
        print 'cp4'
        raise NotImplemented

    def PUT(self, BODY):
        """
        """
        print 'cp8'
        raise NotImplemented