OPSI.web2.dav.static module

WebDAV-aware static resources.

class OPSI.web2.dav.static.DAVFile(path, defaultType='text/plain', indexNames=None)

Bases: OPSI.web2.dav.resource.DAVResource, OPSI.web2.static.File

WebDAV-accessible File resource.

Extends OPSI.web2.static.File to handle WebDAV methods.

createSimilarFile(path)
davComplianceClasses()
deadProperties()
findChildren(depth)

See L{IDAVResource.findChildren}.

http_COPY(request)

Respond to a COPY request. (RFC 2518, section 8.8)

http_DELETE(request)

Respond to a DELETE request. (RFC 2518, section 8.6)

http_LOCK(request)

Respond to a LOCK request. (RFC 2518, section 8.10)

http_MKCOL(*args, **kwargs)

Respond to a MKCOL request. (RFC 2518, section 8.3)

http_MOVE(request)

Respond to a MOVE request. (RFC 2518, section 8.9)

http_PROPFIND(*args, **kwargs)

Respond to a PROPFIND request. (RFC 2518, section 8.1)

http_PROPPATCH(*args, **kwargs)

Respond to a PROPPATCH request. (RFC 2518, section 8.2)

http_PUT(request)

Respond to a PUT request. (RFC 2518, section 8.7)

http_REPORT(*args, **kwargs)

Respond to a REPORT request. (RFC 3253, section 3.6)

http_UNLOCK(request)

Respond to a UNLOCK request. (RFC 2518, section 8.11)

ignoreExt(ext)

Does nothing; doesn’t apply to this subclass.

isCollection()

See L{IDAVResource.isCollection}.

preconditions_PUT(request)
report_DAV__expand_property(*args, **kwargs)

Generate an expand-property REPORT. (RFC 3253, section 3.8)

supportedPrivileges()