bc.setFollowRedirect(true);
AsyncHttpClient c = getAsyncHttpClient(bc.build());
try {
RequestBuilder builder = new RequestBuilder("POST");
builder.setUrl(getTargetUrl());
// made buff in stream big enough to mark.
builder.setBody(new InputStreamBodyGenerator(new BufferedInputStream(new FileInputStream(LARGE_IMAGE_FILE), 400000)));
Request r = builder.build();
Response response = c.executeRequest(r).get();
if (500 == response.getStatusCode()) {
StringBuilder sb = new StringBuilder();
sb.append("==============\n");