[CalendarServer-changes] [1521] CalendarServer/trunk/twistedcaldav/static.py

source_changes at macosforge.org source_changes at macosforge.org
Fri May 11 13:55:38 PDT 2007


Revision: 1521
          http://trac.macosforge.org/projects/calendarserver/changeset/1521
Author:   wsanchez at 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:
--------------
    CalendarServer/trunk/twistedcaldav/static.py

Modified: CalendarServer/trunk/twistedcaldav/static.py
===================================================================
--- 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
     ##

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070511/9f72f148/attachment.html


More information about the calendarserver-changes mailing list