@Test(expected=ClientProtocolException.class)
public void testNonRepeatableEntity() throws Exception {
final int port = this.localServer.getServiceAddress().getPort();
this.localServer.register("*", new SimpleService());
final HttpRequestRetryHandler requestRetryHandler = new HttpRequestRetryHandler() {
public boolean retryRequest(
final IOException exception,
final int executionCount,
final HttpContext context) {