Attention
You are looking at outdated documentation for version 2.x. A newer version is available.
wsgidav.util.addPropertyResponse¶
-
wsgidav.util.
addPropertyResponse
(multistatusEL, href, propList)[source]¶ Append <response> element to <multistatus> element.
- <prop> node depends on the value type:
- str or unicode: add element with this content
- None: add an empty element
- etree.Element: add XML element as child
- DAVError: add an empty element to an own <propstatus> for this status code
@param multistatusEL: etree.Element @param href: global URL of the resource, e.g. ‘http://server:port/path’. @param propList: list of 2-tuples (name, value)