HttpClientRequest<ByteBuf> request = HttpClientRequest.create(HttpVersion.HTTP_1_0, HttpMethod.GET, "/");
HttpClientResponse<ByteBuf> response =
RxNetty.<ByteBuf, ByteBuf>newHttpClientBuilder("localhost", mockServer.getServerPort())
.enableWireLogging(LogLevel.ERROR).build().submit(request).toBlocking()
.toFuture().get(1, TimeUnit.MINUTES);
HttpVersion httpVersion = response.getHttpVersion();
Assert.assertEquals("Unexpected HTTP version.", HttpVersion.HTTP_1_0, httpVersion);
Assert.assertFalse("Unexpected Connection header.", response.getHeaders().isKeepAlive());
Assert.assertFalse("Unexpected Transfer encoding.", response.getHeaders().isTransferEncodingChunked());
}