Revision: 1521 http://trac.macosforge.org/projects/calendarserver/changeset/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: -------------- 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 ##