ient.DefaultHttpClient, boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAllowCompression</h4>
<pre>public static&nbsp;void&nbsp;setAllowCompression(org.apache.http.impl.client.DefaultHttpClient&nbsp;httpClient,
                       boolean&nbsp;allowCompression)</pre>
<div class="block">Control HTTP payload compression.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>allowCompression</code> - true will enable compression (needs support from server), fals