Modified: CalendarServer/trunk/lib-patches/Twisted/twisted.web2.dav.test.test_acl.patch (1481 => 1482)
--- CalendarServer/trunk/lib-patches/Twisted/twisted.web2.dav.test.test_acl.patch 2007-04-12 16:53:08 UTC (rev 1481)
+++ CalendarServer/trunk/lib-patches/Twisted/twisted.web2.dav.test.test_acl.patch 2007-04-13 00:29:15 UTC (rev 1482)
@@ -82,16 +82,18 @@
for name, acl in (
("none" , self.grant()),
("read" , self.grant(davxml.Read())),
-@@ -363,7 +378,7 @@
+@@ -361,9 +376,7 @@
+ if method == "GET":
+ ok = responsecode.OK
elif method == "REPORT":
- # BAD_REQUEST in the allowed case, because we're not actually
- # including the required XML in the request body.
+- # BAD_REQUEST in the allowed case, because we're not actually
+- # including the required XML in the request body.
- ok = responsecode.BAD_REQUEST
+ ok = responsecode.MULTI_STATUS
else:
raise AssertionError("We shouldn't be here. (method = %r)" % (method,))
-@@ -377,6 +392,9 @@
+@@ -377,6 +390,9 @@
path = os.path.join(self.docroot, name)
request = SimpleRequest(self.site, method, "/" + name)