Commit 1ddfadce authored by Jason Madden's avatar Jason Madden

comment on ordering [skip ci]

parent ec46093c
...@@ -655,6 +655,8 @@ class WSGIHandler(object): ...@@ -655,6 +655,8 @@ class WSGIHandler(object):
# for compatibility with older versions of pywsgi, we pass self.requestline as an argument there # for compatibility with older versions of pywsgi, we pass self.requestline as an argument there
# NOTE: read_request is supposed to raise ValueError on invalid input; allow old # NOTE: read_request is supposed to raise ValueError on invalid input; allow old
# subclasses that return a False value instead. # subclasses that return a False value instead.
# NOTE: This can mutate the value of self.headers, so self.get_environ() must not be
# called until AFTER this call is done.
if not self.read_request(self.requestline): if not self.read_request(self.requestline):
return ('400', _BAD_REQUEST_RESPONSE) return ('400', _BAD_REQUEST_RESPONSE)
except Exception as ex: # pylint:disable=broad-except except Exception as ex: # pylint:disable=broad-except
......
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