Commit e6fa0f1e authored by 's avatar

*** empty log message ***

parent b19e708d
......@@ -85,24 +85,12 @@
"""WebDAV support - resource objects."""
__version__='$Revision: 1.17 $'[11:-2]
__version__='$Revision: 1.18 $'[11:-2]
import sys, os, string, mimetypes, davcmds
from common import absattr, aq_base, urlfix, rfc1123_date
import exceptions
class error(exceptions.Exception):
def __init__(self, msg):
self.msg=msg
html='<html>\n<head>\n<title></title>\n</head>\n<body>\n' \
'%s\n</body></html>'
def __str__(self, fmt=html):
return fmt % self.msg
class Resource:
"""The Resource mixin class provides basic WebDAV support for
non-collection objects. It provides default implementations
......
......@@ -83,11 +83,28 @@
#
##############################################################################
"""The webdav package provides WebDAV class 1 functionality within
the Zope environment. Based on:
"""The webdav package provides WebDAV capability for common Zope objects.
Current WebDAV support in Zope provides for the correct handling of HTTP
GET, HEAD, POST, PUT, DELETE, OPTIONS, TRACE, PROPFIND, PROPPATCH, MKCOL,
COPY and MOVE methods, as appropriate for the object that is the target
of the operation. Objects which do not support a given operation should
respond appropriately with a "405 Method Not Allowed" response.
Note that the ability of a Zope installation to support WebDAV HTTP methods
depends on the willingness of the web server to defer handling of those
methods to the Zope process. In most cases, servers will allow the process
to handle any request, so the Zope portion of your url namespace may well
be able to handle WebDAV operations even though your web server software
is not WebDAV-aware itself. Zope installations which use bundled server
implementations such as ZopeHTTPServer or ZServer should fully support
WebDAV functions.
References:
[WebDAV] Y. Y. Goland, E. J. Whitehead, Jr., A. Faizi, S. R. Carter, D.
Jensen, "HTTP Extensions for Distributed Authoring - WebDAV." RFC 2518.
Microsoft, U.C. Irvine, Netscape, Novell. February, 1999."""
__version__='$Revision: 1.4 $'[11:-2]
__version__='$Revision: 1.5 $'[11:-2]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment