Doc Webdav: reply with relative URIs when the request was relative.
authorP. Christeas <p_christ@hol.gr>
Thu, 14 Oct 2010 12:51:18 +0000 (15:51 +0300)
committerP. Christeas <p_christ@hol.gr>
Thu, 14 Oct 2010 12:51:18 +0000 (15:51 +0300)
commitb275fc4601263e58def6d8ff29088e18a6a6b09d
treed3e927023ad010343875d57dba517f3aec9c3fcb
parent1e0daa78447147bc5b6b78f3f1bdfc311781b87f
Doc Webdav: reply with relative URIs when the request was relative.

If the DAV client requests properties for a relative URI (without the
protocol:ip:port part), it means it can also understand responses with
relative notation, so don't bother calculating the prefix (non-trivial).

This fixes the REPORT responses to Mozilla Sunbird.

bzr revid: p_christ@hol.gr-20101014125118-3x5ivmrbaqwb1nsx
addons/document_webdav/webdav.py