}
@Test
public void HTTP_1_0_noConnectionHeaderTest() throws ClientProtocolException, IOException {
HttpParams params = new BasicHttpParams();
HttpProtocolParams.setVersion(params, new ProtocolVersion("HTTP", 1, 0));
DefaultHttpClient httpclient = new DefaultHttpClient();
HttpGet httpget = new HttpGet("http://localhost:" + PORT + "/");
HttpResponse response = httpclient.execute(httpget);
assertNotNull(response);
assertEquals(200, response.getStatusLine().getStatusCode());
assertEquals(new ProtocolVersion("HTTP", 1, 1), response.getStatusLine().getProtocolVersion());
assertEquals("OK", response.getStatusLine().getReasonPhrase());
assertEquals(5, response.getAllHeaders().length);
String payLoad = convertStreamToString(response.getEntity().getContent()).trim();
assertEquals(expectedPayload, payLoad);
}