ServletOutputStream out = writeBody(message, response, !message.shouldStartActor());
out.flush(); // commits the response
if (message.shouldStartActor()) {
try {
message.getFrom().send(new HttpStreamOpened(new HttpStreamActor(request, response).ref(), message));
} catch (SuspendExecution e) {
throw new AssertionError(e);
}
} else {
out.close();