String r = configClient.replacePath("/setAllowCredentials/false")
.accept("text/plain").post(null, String.class);
assertEquals("ok", r);
HttpClient httpclient = new DefaultHttpClient();
HttpDelete httpdelete = new HttpDelete("http://localhost:" + PORT + "/untest/delete");
httpdelete.addHeader("Origin", "http://localhost:" + PORT);
HttpResponse response = httpclient.execute(httpdelete);
assertEquals(200, response.getStatusLine().getStatusCode());
assertAllowCredentials(response, false);
assertOriginResponse(true, null, true, response);