wsgidav.samples.dav_provider_tools.VirtualCollection.get_href

VirtualCollection.get_href()

Convert path to a URL that can be passed to XML responses.

Byte string, UTF-8 encoded, quoted.

See http://www.webdav.org/specs/rfc4918.html#rfc.section.8.3 We are using the path-absolute option. i.e. starting with ‘/’. URI ; See section 3.2.1 of [RFC2068]