HTTPServerSettings.useCompressionIfPossible

Responds to "Accept-Encoding" by using compression if possible.

Compression can also be manually enabled by setting the "Content-Encoding" header of the HTTP response appropriately before sending the response body.

This setting is disabled by default. Also note that there are still some known issues with the GZIP compression code.

class HTTPServerSettings
bool useCompressionIfPossible;

Meta