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

WSGI applications are required to return bytes. #1489

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

@fgallaire fgallaire commented Aug 30, 2016

Needs @jaraco advice about:
fgallaire/wsgiserver#2

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

@jaraco 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.