This commit is contained in:
2021-09-24 18:17:38 +08:00
parent ed44026f12
commit e11779c1f9
@@ -41,9 +41,6 @@ class ResponseEmitter implements Emitter
$response->setStatusCode($emitter->getStatusCode());
$response->header('Server', 'swoole');
$response->header('Swoole-Version', swoole_version());
var_dump($response->header, $emitter->getStatusCode());
if (!($emitter instanceof OnDownloadInterface)) {
$response->end($emitter->getBody()->getContents());
} else {