Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
1ddfadce
Commit
1ddfadce
authored
May 23, 2016
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comment on ordering [skip ci]
parent
ec46093c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/gevent/pywsgi.py
src/gevent/pywsgi.py
+2
-0
No files found.
src/gevent/pywsgi.py
View file @
1ddfadce
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment