public void testEndWithoutFlushCallbacks() throws IOException {
net.getIn().append(POST);
net.getIn().close();
http.setCompletedCallback(new RequestCompleted() {
public void handle(HttpChannel data, Object extra)
throws IOException {
allDone = true;
}
});