]> git.ipfire.org Git - thirdparty/tornado.git/commit
Rename the new-in-4.0 gzip parameter to HTTPServer.
authorBen Darnell <ben@bendarnell.com>
Tue, 1 Jul 2014 03:28:10 +0000 (23:28 -0400)
committerBen Darnell <ben@bendarnell.com>
Tue, 1 Jul 2014 03:32:50 +0000 (23:32 -0400)
commit159e10d6763819e5a0cd2bb57acb64788a939322
tree156c897d3d87bfcd082c96675e0cf7146a8dbcab
parenta91b15c3907e8f73031e75cd45b0417b184f0a9a
Rename the new-in-4.0 gzip parameter to HTTPServer.

All the gzip-related parameters are now explicit about whether
they compress or decompress and whether they apply to requests or
responses.  For all the parameters that existed prior to 4.0
the old names are accepted as well, but for the new ones in 4.0
we don't need to worry about backwards-compatibility.

This is motivated by the potential confusion around the use of
gzip as a parameter to the Application constructor to indicate
compression of responses and to the HTTPServer constructor to
indicate decompression of requests.
docs/releases/next.rst
docs/web.rst
tornado/curl_httpclient.py
tornado/http1connection.py
tornado/httpclient.py
tornado/httpserver.py
tornado/simple_httpclient.py
tornado/test/httpserver_test.py
tornado/web.py