@Test(groups = { "standalone", "default_provider" })
public void testPutEmptyBody() throws Exception {
AsyncHttpClient ahc = getAsyncHttpClient(null);
try {
Response response = ahc.preparePut(getTargetUrl()).setBody("String").execute().get();
assertNotNull(response);
assertEquals(response.getStatusCode(), 204);
assertEquals(response.getResponseBody(), "");
assertTrue(response.getResponseBodyAsStream() instanceof InputStream);