};
IServer server = new Server(hdl);
server.start();
HttpClientConnection con = new HttpClientConnection("localhost", server.getLocalPort());
IHttpResponse response = con.call(new GetRequest("/"));
String body = response.getBlockingBody().readString();
Assert.assertEquals(200, response.getStatus());
Assert.assertTrue(response.getContentType() == null);
Assert.assertEquals("<html> <body>this is a plain body </body></html>", body);
con.close();
server.close();
}