]> git.ipfire.org Git - thirdparty/tornado.git/commit
Correct handling of HTTP version numbers.
authorBen Darnell <ben@bendarnell.com>
Sun, 11 Jan 2015 18:50:58 +0000 (13:50 -0500)
committerBen Darnell <ben@bendarnell.com>
Sun, 11 Jan 2015 18:50:58 +0000 (13:50 -0500)
commit889e1f378eed48d203ac603f0c144ecea7beee80
treeb8f2da88d0bc9db8d6459a20ce18b6d4ed521eaf
parenta0569678bbaff68e0df64a539059eb175f7de6cc
Correct handling of HTTP version numbers.

Per RFC 7230 section 2.6, we always output HTTP/1.1 even if the
request was HTTP/1.0 (and we accept any 1.x version).
tornado/http1connection.py
tornado/httputil.py
tornado/simple_httpclient.py
tornado/test/httpserver_test.py
tornado/test/iostream_test.py
tornado/web.py