
Public Member Functions | |
| def | __init__ |
| def | transform_chunk |
| def | transform_first_chunk |
A transform modifies the result of an HTTP request (e.g., GZip encoding) A new transform instance is created for every request. See the ChunkedTransferEncoding example below if you want to implement a new Transform.
| def tornado.web.OutputTransform.__init__ | ( | self, | |
| request | |||
| ) |
Reimplemented in tornado.web.ChunkedTransferEncoding, and tornado.web.GZipContentEncoding.
| def tornado.web.OutputTransform.transform_chunk | ( | self, | |
| chunk, | |||
| finishing | |||
| ) |
Reimplemented in tornado.web.ChunkedTransferEncoding, and tornado.web.GZipContentEncoding.
| def tornado.web.OutputTransform.transform_first_chunk | ( | self, | |
| status_code, | |||
| headers, | |||
| chunk, | |||
| finishing | |||
| ) |
Reimplemented in tornado.web.ChunkedTransferEncoding, and tornado.web.GZipContentEncoding.