@Test
    void exceedingMaxContentSizeReturns413() throws IOException {
        JettyTestDriver driver = JettyTestDriver.newConfiguredInstance(
                new ReadBeforeWriteRequestHandler(),
                new ServerConfig.Builder(),
                new ConnectorConfig.Builder().maxContentSize(4));
        driver.client().newPost("/").setBinaryContent(new byte[4]).execute().expectStatusCode(is(OK));
        driver.client().newPost("/").setBinaryContent(new byte[5]).execute().expectStatusCode(is(REQUEST_TOO_LONG));
        assertTrue(driver.close());
    }
@author Oyvind Bakksjo
@author Simon Thoresen Hult
@author bjorncs
container-core/src/test/java/com/yahoo/jdisc/http/server/jetty/HttpServerTest.java