[CalendarServer-changes] [11157] CalendarServer/trunk/contrib/performance/httpauth.py
source_changes at macosforge.org
source_changes at macosforge.org
Thu May 9 09:54:28 PDT 2013
Revision: 11157
http://trac.calendarserver.org//changeset/11157
Author: sagen at apple.com
Date: 2013-05-09 09:54:28 -0700 (Thu, 09 May 2013)
Log Message:
-----------
Handle (and ignore) the "Negotiate" header in the sim
Modified Paths:
--------------
CalendarServer/trunk/contrib/performance/httpauth.py
Modified: CalendarServer/trunk/contrib/performance/httpauth.py
===================================================================
--- CalendarServer/trunk/contrib/performance/httpauth.py 2013-05-09 14:17:09 UTC (rev 11156)
+++ CalendarServer/trunk/contrib/performance/httpauth.py 2013-05-09 16:54:28 UTC (rev 11157)
@@ -104,7 +104,12 @@
def _parse(self, authorization):
- scheme, rest = authorization.split(None, 1)
+ try:
+ scheme, rest = authorization.split(None, 1)
+ except ValueError:
+ # Probably "negotiate", which we don't support
+ scheme = authorization
+ rest = ""
args = urllib2.parse_keqv_list(urllib2.parse_http_list(rest))
challengeType = {
'basic': BasicChallenge,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130509/9338b458/attachment.html>
More information about the calendarserver-changes
mailing list