309310311312313314315316317318319
HeadMethod headMethod = new HeadMethod("/"); conn.addResponse(headers, ""); try { headMethod.execute(new HttpState(), conn); conn.assertNotOpen(); } catch (Throwable t) { t.printStackTrace(); fail("Unable to execute method : " + t.toString());
212213214215216217218219220221222
180181182183184185186187188189190
219220221222223224225226227228229