]> git.ipfire.org Git - thirdparty/tornado.git/commit
Fix a regression in gzip output for StaticFileHandler.
authorBen Darnell <ben@bendarnell.com>
Sat, 23 Aug 2014 22:12:19 +0000 (18:12 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 24 Aug 2014 16:02:01 +0000 (12:02 -0400)
commitd9689739fe4139ada808540f9864743fb14b6914
tree90824eb89411ab7704c8821209e5cdb0b77d01c0
parented7bd3a2bd8948f8a3745582233f50d14ba86720
Fix a regression in gzip output for StaticFileHandler.

Streaming static responses confused the gzip output transform since
it could no longer set the correct outgoing content-length.  Now
it will fall back to chunked encoding in this case.

Closes #1156.
tornado/test/web_test.py
tornado/web.py