wsgidav.fs_dav_provider#

Description

Implementation of a DAV provider that serves resource from a file system.

FilesystemProvider implements a DAV resource provider that publishes a file system.

If readonly=True is passed, write attempts will raise HTTP_FORBIDDEN.

This provider creates instances of FileResource and FolderResource to represent files and directories respectively.

Classes

FileResource(path, environ, file_path)

Represents a single existing DAV resource instance.

FilesystemProvider(root_folder, *[, ...])

Default implementation of a filesystem DAVProvider.

FolderResource(path, environ, file_path)

Represents a single existing file system folder DAV resource.

Other Members

BUFFER_SIZE

int([x]) -> integer int(x, base=10) -> integer

HTTP_FORBIDDEN

int([x]) -> integer int(x, base=10) -> integer