In CancelledResponse.java the test only checks the HttpClient against HTTP/1.1 when cancelling a BodySubscriber while receiving data. In the interest of more coverage, the test should be extended (or a new test should be created) to cover the client in the case of a HTTP/2 connection.
In addition, a new test could use more canonical methods of testing such as making use of the HttpTestServerAdapters library.
In addition, a new test could use more canonical methods of testing such as making use of the HttpTestServerAdapters library.