private String createHttpsShellCommand(String header, String responseBody, int port) {
        int length = responseBody.getBytes().length;
        return (
            "apk add nmap-ncat; while true; do { echo -e \"HTTP/1.1 " +
            header +
            NEWLINE +
            "Content-Type: text/html" +
            NEWLINE +
            "Content-Length: " +
            length +
            NEWLINE +
            "\";" +
            " echo \"" +
            responseBody +
            "\";} | ncat -lp " +
            port +
            " --ssl; done"
        );
    }
Create a HttpWaitStrategy instance with a waitUntilReady implementation

@param ready Indicates that the WaitStrategy has completed waiting successfully.
@return the HttpWaitStrategy instance
core/src/test/java/org/testcontainers/junit/wait/strategy/HttpWaitStrategyTest.java