Fixed merge (take 3) of development / 12.8.1-5 versions of HttpClient.java

Former-commit-id: fc39ef78e4 [formerly bbf4b18204] [formerly fc39ef78e4 [formerly bbf4b18204] [formerly d538fd8913 [formerly d8080798d6c69b9cf0f9042660c5ad910cf123c6]]]
Former-commit-id: d538fd8913
Former-commit-id: 352f391700 [formerly 0ef9f1c86e]
Former-commit-id: 9d5b631109
This commit is contained in:
Steve Harris 2012-08-08 13:57:46 -05:00
parent 05ef298baf
commit fe54bcc7e3

View file

@ -520,6 +520,7 @@ public class HttpClient {
private void postStreamingEntity(String address, AbstractHttpEntity entity,
IStreamHandler handlerCallback) throws CommunicationException {
HttpPost put = new HttpPost(address);
put.setEntity(entity);
HttpClientResponse resp = process(put, handlerCallback);
checkStatusCode(resp);
}