facebook/tornado — pull request #481 by jsamuel (2012-03-19 23:02:43+00:00)
Title: arguments dict keys are bytes when using WSGIApplication with Python 3

In Python 3.2 when using WSGIApplication, requests of content type "application/x-www-form-urlencoded" have their arguments dictionary end up with the keys being bytes instead of str.

These changes fix this issue for me on Python 3.2.

I haven't run the tests or tried these changes with Python 2. No time for that at the moment but I'll do that in a few weeks if this lingers.