@ Nonnull public final WSClientConfig setCompressedResponse ( final boolean bCompress ) { if ( bCompress ) m_aHTTPHeaders . setHeader ( CHttpHeader . ACCEPT_ENCODING , "gzip" ) ; else m_aHTTPHeaders . removeHeaders ( CHttpHeader . ACCEPT_ENCODING ) ; return this ; }
Add a hint that this client understands compressed HTTP content . Disabled by default .