this.serverBootstrap.registerHandler("*", createDeflateEncodingRequestHandler(entityText, false));
final HttpHost target = start();
final HttpGet request = new HttpGet("/some-resource");
final String response = this.httpclient.execute(target, request, new BasicResponseHandler());
Assert.assertEquals("The entity text is correctly transported", entityText, response);
}