@Test
    public void testWaitUntilReadyWithSuccessWithCustomHeaders() {
        HashMap<String, String> headers = new HashMap<>();
        headers.put("baz", "boo");
        try (
            GenericContainer<?> container = startContainerWithCommand(
                createShellCommand("200 OK", GOOD_RESPONSE_BODY),
                createHttpWaitStrategy(ready).withHeader("foo", "bar").withHeaders(headers)
            )
        ) {
            waitUntilReadyAndSucceed(container);

            String logs = container.getLogs();

            assertThat(logs).contains("foo: bar");
            assertThat(logs).contains("baz: boo");
        }
    }
Ensures that HTTP requests made with the HttpWaitStrategy can be enriched with user defined headers,
although the test web server does not depend on the header to response with a 200, by checking the
logs we can ensure the HTTP request was correctly sent.
core/src/test/java/org/testcontainers/junit/wait/strategy/HttpWaitStrategyTest.java