twisted.web.server._GzipEncoder(object)
class documentationtwisted.web.server
View Source
(View In Hierarchy)
Implements interfaces: twisted.web.iweb._IRequestEncoder
An encoder which supports gzip.
Present Since | 12.3 |
Method | __init__ | Undocumented |
Method | encode | Write to the request, automatically compressing data on the fly. |
Method | finish | Finish handling the request request, flushing any data from the zlib buffer. |
Instance Variable | _zlibCompressor | The zlib compressor instance used to compress the stream. |
Instance Variable | _request | A reference to the originating request. |
Finish handling the request request, flushing any data from the zlib buffer.