The Collection class provides basic WebDAV support for
collection objects. It provides default implementations
for all supported WebDAV HTTP methods. The behaviors of some
WebDAV HTTP methods for collections are slightly different
than those for non-collection resources.
Methods
|
|
DELETE
HEAD
PUT
dav__init
|
|
DELETE
|
DELETE (
self,
REQUEST,
RESPONSE,
)
Delete a collection resource. For collection resources, DELETE
may return either 200 (OK) or 204 (No Content) to indicate total
success, or may return 207 (Multistatus) to indicate partial
success. Note that in Zope a DELETE currently never returns 207.
|
|
HEAD
|
HEAD (
self,
REQUEST,
RESPONSE,
)
Retrieve resource information without a response body.
|
|
PUT
|
PUT (
self,
REQUEST,
RESPONSE,
)
The PUT method has no inherent meaning for collection
resources, though collections are not specifically forbidden
to handle PUT requests. The default response to a PUT request
for collections is 405 (Method Not Allowed).
|
|
dav__init
|
dav__init (
self,
request,
response,
)
|
|