[Checkins] SVN: zope.publisher/branches/achapman-lenient-cookie-parsing/src/zope/publisher/http.py - whitespace
John Murphy
jackie at zope.com
Mon Jan 9 20:48:58 UTC 2012
Log message for revision 124006:
- whitespace
Changed:
U zope.publisher/branches/achapman-lenient-cookie-parsing/src/zope/publisher/http.py
-=-
Modified: zope.publisher/branches/achapman-lenient-cookie-parsing/src/zope/publisher/http.py
===================================================================
--- zope.publisher/branches/achapman-lenient-cookie-parsing/src/zope/publisher/http.py 2012-01-09 19:10:12 UTC (rev 124005)
+++ zope.publisher/branches/achapman-lenient-cookie-parsing/src/zope/publisher/http.py 2012-01-09 20:48:57 UTC (rev 124006)
@@ -168,15 +168,15 @@
i = 0 # Our starting point
n = len(str) # Length of string
M = None # current morsel
-
+
while 0 <= i < n:
# Start looking for a cookie
match = patt.search(str, i)
if not match: break # No more cookies
-
+
K,V = match.group("key"), match.group("val")
i = match.end(0)
-
+
# Parse the key, value in case it's metainfo
if K[0] == "$":
# We ignore attributes which pertain to the cookie
@@ -187,7 +187,7 @@
M[ K[1:] ] = V
except Cookie.CookieError:
# We don't care.
- pass
+ pass
elif K.lower() in Cookie.Morsel._reserved:
if M:
M[ K ] = Cookie._unquote(V)
@@ -198,8 +198,8 @@
M = self[K]
except Cookie.CookieError, e:
eventlog.warning(e)
-
+
class URLGetter(object):
__slots__ = "__request"
More information about the checkins
mailing list