[CalendarServer-changes] [4344] CalendarServer/trunk/twistedcaldav/directory/oldappleopendirectory. py

source_changes at macosforge.org source_changes at macosforge.org
Tue Jun 16 00:12:47 PDT 2009


Revision: 4344
          http://trac.macosforge.org/projects/calendarserver/changeset/4344
Author:   darla at apple.com
Date:     2009-06-16 00:12:47 -0700 (Tue, 16 Jun 2009)
Log Message:
-----------
Applying X-HTTP-Method-Override fix here too.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/directory/oldappleopendirectory.py

Modified: CalendarServer/trunk/twistedcaldav/directory/oldappleopendirectory.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/oldappleopendirectory.py	2009-06-16 03:16:09 UTC (rev 4343)
+++ CalendarServer/trunk/twistedcaldav/directory/oldappleopendirectory.py	2009-06-16 07:12:47 UTC (rev 4344)
@@ -1138,7 +1138,7 @@
                     self.shortNames[0],
                     challenge,
                     response,
-                    credentials.method
+                    credentials.originalMethod if credentials.originalMethod else credentials.method
                 ):
                     try:
                         cache = self.digestcache
@@ -1156,7 +1156,7 @@
     Challenge: %s
     Response:  %s
     Method:    %s
-""" % (self.nodeName, self.shortNames[0], challenge, response, credentials.method))
+""" % (self.nodeName, self.shortNames[0], challenge, response, credentials.originalMethod if credentials.originalMethod else credentials.method))
 
             except opendirectory.ODError, e:
                 self.log_error(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090616/d82b7b60/attachment.html>


More information about the calendarserver-changes mailing list