Table of Contents

Class: Collection Zope-2.2.1-src/lib/python/webdav/Collection.py

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.

Base Classes   
Resource
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.

Exceptions   
'Method Not Allowed'
'Not Found'
  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).

Exceptions   
'Method Not Allowed'
  dav__init 
dav__init (
        self,
        request,
        response,
        )


Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6