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

WSGI applications are required to return bytes. #1489

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

Comments

Projects
None yet
2 participants
@fgallaire
Contributor

fgallaire commented Aug 30, 2016

Needs @jaraco advice about:
fgallaire/wsgiserver#2

@jaraco jaraco closed this in 6251b05 Sep 2, 2016

@jaraco

This comment has been minimized.

Show comment
Hide comment
@jaraco

jaraco Sep 2, 2016

Member

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.

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

Merge pull request #1493 from fgallaire/master
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