autoCompress property
bool autoCompressread / write
Whether the HttpServer should compress the content, if possible.
The content can only be compressed when the response is using chunked Transfer-Encoding and the incoming request has gzip
as an accepted encoding in the Accept-Encoding header.
The default value is false
(compression disabled). To enable, set autoCompress
to true
.
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-io/HttpServer/autoCompress.html