[CalendarServer-changes] [2394] CalendarServer/branches/propfind-cache-2/twistedcaldav/cache.py

source_changes at macosforge.org source_changes at macosforge.org
Thu May 8 14:31:12 PDT 2008


Revision: 2394
          http://trac.macosforge.org/projects/calendarserver/changeset/2394
Author:   dreid at apple.com
Date:     2008-05-08 14:31:11 -0700 (Thu, 08 May 2008)

Log Message:
-----------
remove the date header on the way out.

Modified Paths:
--------------
    CalendarServer/branches/propfind-cache-2/twistedcaldav/cache.py

Modified: CalendarServer/branches/propfind-cache-2/twistedcaldav/cache.py
===================================================================
--- CalendarServer/branches/propfind-cache-2/twistedcaldav/cache.py	2008-05-08 18:46:03 UTC (rev 2393)
+++ CalendarServer/branches/propfind-cache-2/twistedcaldav/cache.py	2008-05-08 21:31:11 UTC (rev 2394)
@@ -159,6 +159,8 @@
             elif self._time() >= cacheTime + self.CACHE_TIMEOUT:
                 return None
 
+            response[1].removeHeader('date')
+
             return Response(response[0],
                             headers=response[1],
                             stream=MemoryStream(response[2]))

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080508/50b3826a/attachment.html


More information about the calendarserver-changes mailing list