assertNull(method.getRequestHeader("Transfer-Encoding"));
assertNotNull(method.getRequestHeader("Content-Length"));
assertEquals(input.length, Integer.parseInt(
method.getRequestHeader("Content-Length").getValue()));
} finally {
method.releaseConnection();
}
}
public void testEnclosedEntityNonRepeatable() throws Exception {
String inputstr = "This is a test message";