Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSGIContainer's start_response method is incorrect #39

Closed
jkp opened this issue Dec 6, 2009 · 1 comment
Closed

WSGIContainer's start_response method is incorrect #39

jkp opened this issue Dec 6, 2009 · 1 comment

Comments

@jkp
Copy link

jkp commented Dec 6, 2009

The prototype for a start_response method is as follows:

def start_response(status,response_headers,exc_info=None):

See here: http://www.python.org/dev/peps/pep-0333/#the-start-response-callable.

The version in Tornado does not take the exc_info parameter meaning it is not possible to run a number of middlewares under it. It's an easy one to fix though :)

@bdarnell
Copy link
Member

Fixed in commit 1ae186a

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants