Part of twisted.web2.dav View Source
Utilities
This API is considered private to static.py and is therefore subject to change.Function | allDataFromStream | Undocumented |
Function | davXMLFromStream | Undocumented |
Function | noDataFromStream | Undocumented |
Function | normalizeURL | Normalized a URL. |
Function | joinURL | Appends URLs in series. |
Function | parentForURL | Extracts the URL of the containing collection resource for the resource |
Function | unimplemented | Throw an exception signifying that the current method is unimplemented |
Function | bindMethods | Binds all functions in the given module (as defined by that module's |
Parameters | url | a URL. |
Returns | the normalized representation of url . The returned URL
will never contain a trailing "/" ; it is up to the
caller to determine whether the resource referred to by the URL is a
collection and add a trailing "/" if so.
|
Parameters | urls | URLs to join. |
Returns | the normalized URL formed by combining each URL in urls .
The returned URL will contain a trailing "/" if
and only if the last given URL contains a trailing
"/" .
|
Parameters | url | an absolute (server-relative is OK) URL. |
Returns | the normalized URL of the collection resource containing the resource
corresponding to url . The returned URL will always contain a
trailing "/" .
|
__all__
attribute) which start with any of the given
prefixes as methods of the given class.
Parameters | module | the module in which to search for functions. |
clazz | the class to bind found functions to as methods. | |
prefixes | a sequence of prefixes to match found functions against. |