mirror of
https://github.com/apache/httpcomponents-client.git
synced 2025-02-19 08:31:37 +00:00
Oopsie
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@553861 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
668c8c99fb
commit
553a1b4cfd
@ -109,11 +109,8 @@ public void process(
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user