diff --git a/flight/net/Response.php b/flight/net/Response.php index 9161f18..d5d3afa 100644 --- a/flight/net/Response.php +++ b/flight/net/Response.php @@ -432,15 +432,15 @@ class Response } } - if (!headers_sent()) { - $this->sendHeaders(); // @codeCoverageIgnore - } - // Only for the v3 output buffering. if ($this->v2_output_buffering === false) { $this->processResponseCallbacks(); } + if (!headers_sent()) { + $this->sendHeaders(); // @codeCoverageIgnore + } + echo $this->body; $this->sent = true;