Attention
You are looking at outdated documentation for version 2.x. A newer version is available.
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, filePath) |
Represents a single existing DAV resource instance. |
FilesystemProvider (rootFolderPath[, readonly]) |
|
FolderResource (path, environ, filePath) |
Represents a single existing file system folder DAV resource. |
Other Members
BUFFER_SIZE |
int(x=0) -> int or long int(x, base=10) -> int or long |
DAVCollection (path, environ) |
A DAVCollection is a _DAVResource, that has members (like a ‘folder’ on a filesystem). |
DAVError (statusCode[, contextinfo, …]) |
General error class that is used to signal HTTP and WEBDAV errors. |
DAVNonCollection (path, environ) |
A DAVNonCollection is a _DAVResource, that has content (like a ‘file’ on a filesystem). |
DAVProvider () |
Abstract base class for DAV resource providers. |
HTTP_FORBIDDEN |
int(x=0) -> int or long int(x, base=10) -> int or long |
compat |
Tool functions to support Python 2 and 3. |
os |
OS routines for NT or Posix depending on what system we’re on. |
shutil |
Utility functions for copying and archiving files and directory trees. |
stat |
Constants/functions for interpreting results of os.stat() and os.lstat(). |
sys |
This module provides access to some objects used or maintained by the interpreter and to functions that interact strongly with the interpreter. |
util |
Miscellaneous support functions for WsgiDAV. |