byte[] postData = convertModelToByteArray(model);
if (postData != null) {
ByteArrayEntity entity = new ByteArrayEntity(convertModelToByteArray(model));
httpPost.setEntity(entity);
}
HttpResponse response = httpClient.execute(targetHost, httpPost);
//handleError(response);
//Debugging in the devlopment mode
if (SocialClientContext.isDeveloping()) {
dumpHttpResponsetHeader(response);