assertFalse(reuseStrategy.keepAlive(response, context));
}
public void testHTTP11Default() throws Exception {
HttpResponse response = new BasicHttpResponse(HttpVersion.HTTP_1_1, 200, "OK");
response.addHeader("Content-Length", "10");
assertTrue(reuseStrategy.keepAlive(response, context));
}
public void testFutureHTTP() throws Exception {
HttpResponse response = new BasicHttpResponse(new HttpVersion(3, 45), 200, "OK");