code: @Test public void testRequestContentEntityUnknownLengthHTTP11() throws Exception {
    HttpContext context=new BasicHttpContext(null);
    BasicHttpEntityEnclosingRequest request=new BasicHttpEntityEnclosingRequest("POST","/");
    BasicHttpEntity entity=new BasicHttpEntity();
    entity.setContentLength(-1);
    entity.setChunked(false);
    request.setEntity(entity);
    RequestContent interceptor=new RequestContent();
    interceptor.process(request,context);
    Header header=request.getFirstHeader(HTTP.TRANSFER_ENCODING);
    Assert.assertNotNull(header);
    Assert.assertEquals("chunked",header.getValue());
    Assert.assertNull(request.getFirstHeader(HTTP.CONTENT_LEN));
  }
  