
XCapHttpResponse.setETag(eTag);
</BUG>
}
<BUG>XCapHttpResponse.setHttpCode(statusCode);

return XCapHttpResponse;
</BUG>
}
private static String readResponse(HttpResponse response)

String contentType = getSingleHeaderValue(response,
HEADER_CONTENT_TYPE);
byte[] content = StreamUtils.read(
response.getEntity().getContent());
String eTag = getSingleHeaderValue(response, HEADER_ETAG);
xcapHttpResponse.setContentType(contentType);
xcapHttpResponse.setContent(content);
xcapHttpResponse.setETag(eTag);
}
xcapHttpResponse.setHttpCode(statusCode);
return xcapHttpResponse;
}
private static String readResponse(HttpResponse response)
