git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@553861 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Oleg Kalnichevski 2007-07-06 12:23:39 +00:00
parent 668c8c99fb
commit 553a1b4cfd
1 changed files with 0 additions and 3 deletions

View File

@ -109,11 +109,8 @@ public class ClientGZipContentCompression {
System.out.println(response.getStatusLine());
System.out.println("----------------------------------------");
// Get hold of the response entity
HttpEntity entity = response.getEntity();
// If the response does not enclose an entity, there is no need
// to bother about connection release
if (entity != null) {
String content = EntityUtils.toString(entity);
System.out.println(content);