String result = new String(bout.toByteArray(), "ISO8859_1");
assertTrue("Error sending data 1: " + result, toWrite
.equals(result));
toWrite = "zyxwvuts";
connector.open(postTestUrl);
connector.setRequestProperty("Transfer-encoding", "chunked");
out = connector.getOutputStream();
System.out.println("Output stream = " + out.hashCode());
out.write(toWrite.getBytes("ISO8859_1"));
out.close();