client = new HTTPClient();
}
public void testPut() throws IOException {
MultipartForm form = new MultipartForm();
form.put("first", new Document("primary"));
form.put("second", new Document("secondary"));
System.err.println("posting " + form.dump());
Document result = client.post(baseURL + "multi", form);
assertEquals("200", result.getHeader(HTTPClient.HTTP_RESPONSE_CODE));
}