if (httpMethod instanceof HttpPost) {
((HttpPost) httpMethod).setEntity(new ByteArrayEntity(request.getContent()));
}
try {
log(LogType.PROFILER, new HttpProfilerLogEntry(command.getName(), true));
HttpResponse response = fallBackExecute(context, httpMethod);
log(LogType.PROFILER, new HttpProfilerLogEntry(command.getName(), false));
response = followRedirects(client, context, response, /* redirect count */0);
return createResponse(response, context);
} catch (UnsupportedCommandException e) {