Skip to content

WSGI applications are required to return bytes. #1489

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

Closed
fgallaire opened this issue Aug 30, 2016 · 1 comment
Closed

WSGI applications are required to return bytes. #1489

fgallaire opened this issue Aug 30, 2016 · 1 comment

Comments

@fgallaire
Copy link
Contributor

Needs @jaraco advice about:
fgallaire/wsgiserver#2

@jaraco jaraco closed this as completed in 6251b05 Sep 2, 2016
@jaraco
Copy link
Member

jaraco commented Sep 2, 2016

Graham makes a good argument. I want to remove as many references to ISO-8859-1 from the code as possible, and removing this leniency is one place where that can be done. The tests continue to pass if text is refused with a ValueError, so I'm inclined to simply reject text values. Thanks for raising this here.

fgallaire added a commit to fgallaire/cherrypy that referenced this issue Sep 3, 2016
jaraco added a commit that referenced this issue Sep 3, 2016
Finish fix #1489 (WSGI should emit bytes and nothing else)
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