[CalendarServer-changes] [7546] CalendarServer/trunk/calendarserver/provision/root.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Jun 1 07:24:24 PDT 2011
Revision: 7546
http://trac.macosforge.org/projects/calendarserver/changeset/7546
Author: cdaboo at apple.com
Date: 2011-06-01 07:24:23 -0700 (Wed, 01 Jun 2011)
Log Message:
-----------
Make sure propfind cache behavior is skipped if config option if off.
Modified Paths:
--------------
CalendarServer/trunk/calendarserver/provision/root.py
Modified: CalendarServer/trunk/calendarserver/provision/root.py
===================================================================
--- CalendarServer/trunk/calendarserver/provision/root.py 2011-06-01 02:26:01 UTC (rev 7545)
+++ CalendarServer/trunk/calendarserver/provision/root.py 2011-06-01 14:24:23 UTC (rev 7546)
@@ -371,7 +371,7 @@
request.extendedLogItems = {}
request.extendedLogItems["xff"] = remote_ip[0]
- if request.method == "PROPFIND" and not getattr(request, "notInCache", False) and len(segments) > 1:
+ if config.EnableResponseCache and request.method == "PROPFIND" and not getattr(request, "notInCache", False) and len(segments) > 1:
try:
authnUser, authzUser = (yield self.authenticate(request))
request.authnUser = authnUser
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110601/159054ef/attachment.html>
More information about the calendarserver-changes
mailing list