{
GetMethod method = new GetMethod("http://localhost:8080/resteasy/basic");
int status = client.executeMethod(method);
Assert.assertEquals(HttpResponseCodes.SC_OK, status);
Assert.assertEquals("basic", method.getResponseBodyAsString());
method.releaseConnection();
}
{
// I'm testing unknown content-length here
GetMethod method = new GetMethod("http://localhost:8080/resteasy/xml");
int status = client.executeMethod(method);