]> git.ipfire.org Git - thirdparty/tornado.git/commit
Fix handling of chunked-encoded requests with uppercase "Transfer-Encoding" value 1778/head
authorVadim Semenov <protoss.player@gmail.com>
Fri, 22 Jul 2016 19:28:30 +0000 (22:28 +0300)
committerVadim Semenov <protoss.player@gmail.com>
Fri, 22 Jul 2016 19:28:30 +0000 (22:28 +0300)
commit1131c9b50a6a4c0868d0d6fa5e0be077cf8fd1ca
tree955e551d0f78a35df640c51ee78c2ec36e446731
parent79ef301eb05cac82c075198e502d94dad296f6aa
Fix handling of chunked-encoded requests with uppercase "Transfer-Encoding" value

`HTTP1Connection._can_keep_alive` applied lower() to the header's value, but
`_read_body` didn't.
tornado/http1connection.py
tornado/test/httpserver_test.py