Revision 51733
Added by Alessia Bardi about 6 years ago
modules/dnet-parthenos-publisher/trunk/src/main/java/eu/dnetlib/parthenos/virtuoso/VirtuosoReadAPI.java | ||
---|---|---|
156 | 156 |
httpPost.setEntity(new UrlEncodedFormEntity(nvps)); |
157 | 157 |
|
158 | 158 |
try (CloseableHttpResponse response2 = httpclient.execute(httpPost)) { |
159 |
log.debug(response2.getStatusLine()); |
|
160 | 159 |
HttpEntity entity2 = response2.getEntity(); |
161 | 160 |
String res = IOUtils.toString(entity2.getContent()); |
162 | 161 |
EntityUtils.consume(entity2); |
Also available in: Unified diff
Do not log 200 status