iPhone support, thank you Andrew

This commit is contained in:
Guillaume Ayoub
2011-01-07 15:25:05 +01:00
parent dcabf4249e
commit 039e868e5f
2 changed files with 39 additions and 43 deletions

View File

@@ -216,7 +216,7 @@ class CalendarHTTPHandler(server.BaseHTTPRequestHandler):
xml_request = self.rfile.read(int(self.headers["Content-Length"]))
self._answer = xmlutils.propfind(
self.path, xml_request, self._calendar,
self.headers.get("depth", "infinity"), self)
self.headers.get("depth", "infinity"))
self.send_response(client.MULTI_STATUS)
self.send_header("DAV", "1, calendar-access")