-
Notifications
You must be signed in to change notification settings - Fork 33
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
PSGI should allow the 0th array element to be a full HTTP status line #23
Comments
This was discussed a lot when we initially designed PSGI and it was intentionally left out. (Python's WSGI supports this while Ruby's Rack doesn't) |
http://tozt.net/status-message.txt for reference from IRC chat. Also https://groups.google.com/d/topic/rack-devel/KfNmEQpOZI0/discussion from Ruby's Rack point of view. |
|
I had actually tried it with dualvar() but got caught up on Lint. Hadn't considered simply disabling Lint. I'd really love it if this feature made it into the next version of PSGI. So far I've worked around it by setting an "X-" response header instead, but somebody else mentioned being frustrated by this limitation to me recently, so I decided it needed reporting as an issue. |
Hopefully topical bikeshedding, but I think if this were to be
Or:
It would make it easier to e.g. check that the status code is valid on |
For example:
The text was updated successfully, but these errors were encountered: