playframework/playframework — pull request #3240 by jagile (2014-08-01 10:20:00+00:00)
Title: Refer correct compression setting

play.api.libs.ws.ning.NingAsyncHttpClientConfigBuilder uses compressionEnabled not ws.compressionEnable:

/**
* Configures the global settings.
*/
def configureWS(config: WSClientConfig) {
import play.api.libs.ws.Defaults._
builder.setConnectionTimeoutInMs(config.connectionTimeout.getOrElse(connectionTimeout).toInt)
.setIdleConnectionTimeoutInMs(config.idleTimeout.getOrElse(idleTimeout).toInt)
.setRequestTimeoutInMs(config.requestTimeout.getOrElse(requestTimeout).toInt)
.setFollowRedirects(config.followRedirects.getOrElse(followRedirects))
.setUseProxyProperties(config.useProxyProperties.getOrElse(useProxyProperties))
.setCompressionEnabled(config.compressionEnabled.getOrElse(compressionEnabled))

config.userAgent.map {
useragent =>
builder.setUserAgent(useragent)
}
}