twisted.web.server.GzipEncoderFactory(object) class documentationtwisted.web.server
(View In Hierarchy)
Implements interfaces: twisted.web.iweb._IRequestEncoderFactory
| Present Since | 12.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. |