]> git.ipfire.org Git - thirdparty/tornado.git/commit
Add status_code to the OutputTransform.transform_first_chunk interface.
authorBen Darnell <ben@bendarnell.com>
Sun, 20 May 2012 23:27:28 +0000 (16:27 -0700)
committerBen Darnell <ben@bendarnell.com>
Sun, 20 May 2012 23:27:28 +0000 (16:27 -0700)
commitdd7655964ae5086caffa4c1553f2f41296bd4c56
tree79708d29b527014cda6309c9077499e57b14e362
parent53452e8d5a40c9befdd6f4aeb8d6b881fa7c9897
Add status_code to the OutputTransform.transform_first_chunk interface.

This is needed for correct support of the 304 status code, which
has no body and should not have either a Content-Length or
Transfer-Encoding.  This is a backwards-incompatible change to an
interface that was never technically private, but not included in the
documentation and as far as I can tell was never used outside
tornado itself.
tornado/web.py