[CalendarServer-changes] [6198] CalendarServer/trunk/twistedcaldav/resource.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Aug 27 10:32:15 PDT 2010


Revision: 6198
          http://trac.macosforge.org/projects/calendarserver/changeset/6198
Author:   cdaboo at apple.com
Date:     2010-08-27 10:32:15 -0700 (Fri, 27 Aug 2010)
Log Message:
-----------
Missing sync-token should be a 404 not 500.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/resource.py

Modified: CalendarServer/trunk/twistedcaldav/resource.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/resource.py	2010-08-27 17:31:52 UTC (rev 6197)
+++ CalendarServer/trunk/twistedcaldav/resource.py	2010-08-27 17:32:15 UTC (rev 6198)
@@ -1338,7 +1338,7 @@
         """
         Return current sync-token value.
         """
-        raise NotImplementedError
+        raise HTTPError(StatusResponse(responsecode.NOT_FOUND, "Property not supported"))
 
     #
     # Stuff from CalDAVFile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100827/f7b29add/attachment.html>


More information about the calendarserver-changes mailing list