@Override
      public void handle(Request request, HttpServletResponse response) {
        body.set(new String(read()));
        length.set(request.getContentLength());
        response.setStatus(HTTP_OK);
      }
Make a post with an explicit set of the content length

@throws Exception
lib/src/test/java/com/github/kevinsawicki/http/HttpRequestTest.java