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 application response body must be of type 'bytes' #27

Open
mmulich opened this issue Jan 11, 2012 · 0 comments
Open

WSGI application response body must be of type 'bytes' #27

mmulich opened this issue Jan 11, 2012 · 0 comments

Comments

@mmulich
Copy link
Owner

mmulich commented Jan 11, 2012

According to PEP3333 (the Python 3 version of PEP333), the body of a WSGI application must be in bytes (e.g. b""). Therefore, the fake socket implementation (wsgi_fake_socket) as well as the environment maker (make_environ) must be changed to handle bytes rather than strings (str).

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

No branches or pull requests

1 participant