Commit b492d64f authored by Paul Winkler's avatar Paul Winkler

Added explanatory comment to some obscure 5-year-old code

in HTTPRequest.keys() - it caches URLN and BASEN in other.
parent 1209546a
......@@ -1233,6 +1233,8 @@ class HTTPRequest(BaseRequest):
if (isCGI_NAME(key) or key[:5] == 'HTTP_') and (not hide_key(key)):
keys[key] = 1
# Cache URLN and BASEN in self.other.
# This relies on a side effect of has_key.
n=0
while 1:
n=n+1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment