Use native strings in WSGI environ #596

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
1 participant
@aaugustin
Member

aaugustin commented Dec 17, 2012

This pull request fixes https://code.djangoproject.com/ticket/19468.

I had to fix a regression in the test client first.

aaugustin added some commits Dec 17, 2012

Fixed #19487 -- Used str in the test client's WSGI environ.
This regression was introduced by the unicode_literals patch. The WSGI
spec mandates that environ contains native strings.
Fixed #19468 -- Decoded request.path correctly on Python 3.
Thanks aliva for the report and claudep for the feedback.

@aaugustin aaugustin closed this Dec 22, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment