@ParameterizedTest
    @ArgumentsSource(ClientAndProtocolProvider.class)
    @EnabledIf("io.netty.handler.codec.compression.Brotli#isAvailable")
    void testStrings_acceptEncodingBrotli(WebClient client) throws Exception {
        final RequestHeaders req = RequestHeaders.of(HttpMethod.GET, "/strings",
                                                     HttpHeaderNames.ACCEPT_ENCODING, "br");
        final CompletableFuture<AggregatedHttpResponse> f = client.execute(req).aggregate();

        final AggregatedHttpResponse res = f.get();

        assertThat(res.status()).isEqualTo(HttpStatus.OK);
        assertThat(res.headers().get(HttpHeaderNames.CONTENT_ENCODING)).isEqualTo("br");
        assertThat(res.headers().get(HttpHeaderNames.VARY)).isEqualTo("accept-encoding");

        final DirectDecompress decoded = Decoder.decompress(res.content().array());

        assertThat(decoded.getResultStatus()).isEqualTo(Status.DONE);
        assertThat(new String(decoded.getDecompressedData())).isEqualTo("Armeria is awesome!");
    }
Similar to {@link #testTimeoutAfterPartialContent(WebClient)}, but tests the case where the service
produces a pooled buffers.
core/src/test/java/com/linecorp/armeria/server/HttpServerTest.java