headSent function
true when the head of res already went out (a flush or a streamed
body). Then the status and headers are fixed and the body is running.
Needs a server that tells it: NativeResponse.headSent or
DoxHttpResponse.headSent.
Implementation
bool headSent(HttpResponse res) => DoxServer.adapter.headSent(res);