This commit is contained in:
2021-09-24 17:49:43 +08:00
parent 7dbadf32e9
commit d55efb4f00
@@ -42,6 +42,8 @@ class ResponseEmitter implements Emitter
$response->header('Server', 'swoole');
$response->header('Swoole-Version', swoole_version());
var_dump($response->header);
if (!($emitter instanceof OnDownloadInterface)) {
$response->end($emitter->getBody()->getContents());
} else {