]> git.ipfire.org Git - thirdparty/tornado.git/commit
Ensure that HTTPServerRequest.body is a byte string 1285/head
authorfelloak <felloak@gmail.com>
Tue, 23 Dec 2014 08:28:36 +0000 (16:28 +0800)
committerfelloak <felloak@gmail.com>
Tue, 23 Dec 2014 08:28:36 +0000 (16:28 +0800)
commit429aae47dd3d7d78fc7f66fd8f627f0af4ff795b
treef183f602d8cb0b72e3c6ebe6b686491f502460ad
parent32e82f880f1b3bf389c25810dc3eac3591470867
Ensure that HTTPServerRequest.body is a byte string

HTTPServerRequest.body should be bytes but it is an empty string that
occurs in Python3 when pass no body to HTTPServerRequest.
tornado/httputil.py
tornado/test/httputil_test.py
tornado/wsgi.py