t.w.s.GzipEncoderFactory(object) : class documentation

Part of twisted.web.server View Source View In Hierarchy

Present Since12.3
Class Variable compressLevel The compression level used by the compressor, default to 9 (highest).
Method encoderForRequest Check the headers if the client accepts gzip encoding, and encodes the request if so.
compressLevel =
The compression level used by the compressor, default to 9 (highest).
def encoderForRequest(self, request): (source)
Check the headers if the client accepts gzip encoding, and encodes the request if so.
API Documentation for Twisted, generated by pydoctor at 2013-11-08 22:07:30.