}
}//TESTED (1.5, 1.6, 3.*, 4.*)
if (null != request.httpFields) {
for (Map.Entry<String, String> keyValue: request.httpFields.entrySet()) {
if (!keyValue.getKey().equalsIgnoreCase("content")) {
asyncRequest = asyncRequest.addHeader(keyValue.getKey(), keyValue.getValue().replace("$1", entityValue));
}
}
}//TESTED (by hand, "http://httpbin.org/cookies", "httpFields": { "Cookie": "mycookie=test" }
if (null != postContent) {
asyncRequest = asyncRequest.setBody(postContent.replace("$1", entityValue));