BasicHttpEntityEnclosingRequest request = new BasicHttpEntityEnclosingRequest("POST", file);
request.setEntity(fileEntity);
context.setAttribute(ExecutionContext.HTTP_REQUEST, request);
request.setParams(params);
httpexecutor.preProcess(request, httpproc, context);
HttpResponse response = httpexecutor.execute(request, conn, context);
if (!connStrategy.keepAlive(response, context)) {
conn.close();
}
} catch (Exception e) {
log.error(e.getMessage(), true);