Revision
1521
Author
wsanchez@apple.com
Date
2007-05-11 13:55:38 -0700 (Fri, 11 May 2007)

Log Message

Note why MKCALENDAR isn't allowed here

Modified Paths

Diff

Modified: CalendarServer/trunk/twistedcaldav/static.py (1520 => 1521)


--- CalendarServer/trunk/twistedcaldav/static.py	2007-05-09 00:52:38 UTC (rev 1520)
+++ CalendarServer/trunk/twistedcaldav/static.py	2007-05-11 20:55:38 UTC (rev 1521)
@@ -546,8 +546,13 @@
     def http_MOVE       (self, request): return responsecode.FORBIDDEN
     def http_DELETE     (self, request): return responsecode.FORBIDDEN
     def http_MKCOL      (self, request): return responsecode.FORBIDDEN
-    def http_MKCALENDAR (self, request): return responsecode.FORBIDDEN
 
+    def http_MKCALENDAR(self, request):
+        return ErrorResponse(
+            responsecode.FORBIDDEN,
+            (caldav_namespace, "calendar-collection-location-ok")
+        )
+
     ##
     # ACL
     ##