assertFalse(reuseStrategy.keepAlive(response, context));
}
public void testChunkedContent() throws Exception {
HttpResponse response = new BasicHttpResponse(HttpVersion.HTTP_1_1, 200, "OK");
response.addHeader("Transfer-Encoding", "chunked");
assertTrue(reuseStrategy.keepAlive(response, context));
}
public void testIgnoreInvalidKeepAlive() throws Exception {
HttpResponse response = new BasicHttpResponse(HttpVersion.HTTP_1_0, 200, "OK");