Monotone-Parent: 35e9c147975a505b9f65362ed057555a3cd24c9b

Monotone-Revision: 4195d8ebab09f372cec383bb77fff1cedc75e101

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-08-10T15:13:45
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2009-08-10 15:13:45 +00:00
parent 6cb148d463
commit 51f0a296f5
2 changed files with 4 additions and 1 deletions

View File

@@ -1,5 +1,8 @@
2009-08-10 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* Tests/webdavlib.py (WebDAVClient._prepare_headers): fixed a typo
causing the "depth" parameter to never be issued in query heades.
* SoObjects/Appointments/SOGoAppointmentObject.m
(+webdavAclManager): don't register "respond-to-component" as
abstract, otherwise it won't appear in the returned list.

View File

@@ -21,7 +21,7 @@ class WebDAVClient:
"authorization": "Basic %s" % self.simpleauth_hash }
if body is not None:
headers["content-length"] = len(body)
if query.__dict__.has_key("query") and query.depth is not None:
if query.__dict__.has_key("depth") and query.depth is not None:
headers["depth"] = query.depth
if query.__dict__.has_key("content_type"):
headers["content-type"] = query.content_type