// it set the empty content flag when passing the header
// if ((te != null && te.equals("chunked")) ||
// ((contentLength = request.headers().get(Const.Vertx.CONTENT_LENGTH)) != null && !contentLength.equals("0"))) {
final ByteBuf bodyBuf = Unpooled.buffer(0, Integer.MAX_VALUE);
final AtomicBoolean eof = new AtomicBoolean(false);
input = new RubyIORackInput(runtime, rackIOInputClass, request, bodyBuf, eof);
request.dataHandler(new Handler<Buffer>() {
@Override
public void handle(Buffer buffer) {
bodyBuf.writeBytes(buffer.getByteBuf());