Variable 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.
Declaration
class HTTPServerSettings
{
// ...
bool
useCompressionIfPossible;
// ...
}
Authors
Sönke Ludwig, Jan Krüger, Ilya Shipunov
Copyright
© 2012-2013 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.