@Test(groups = { "standalone", "default_provider", "async" })
public void asyncDoPostDefaultContentType() throws Exception {
AsyncHttpClient client = getAsyncHttpClient(null);
try {
final CountDownLatch l = new CountDownLatch(1);
client.preparePost(getTargetUrl()).addFormParam("foo", "bar").execute(new AsyncCompletionHandlerAdapter() {
@Override
public Response onCompleted(Response response) throws Exception {
try {
assertEquals(response.getStatusCode(), 200);