headers.add(new BasicHeader("Connection", "Close"));
HttpParams params = new BasicHttpParams();
params.setParameter("http.default-headers", headers);
HttpClient httpclient = new DefaultHttpClient(params);
HttpDelete httpdelete = new HttpDelete("http://localhost:" + PORT + "/delete");
HttpResponse response = httpclient.execute(httpdelete);
assertNotNull(response);
assertEquals(200, response.getStatusLine().getStatusCode());
assertEquals(new ProtocolVersion("HTTP", 1, 1), response.getStatusLine().getProtocolVersion());