改名
This commit is contained in:
@@ -29,6 +29,7 @@ class ResponseEmitter
|
||||
if ($content instanceof FileFormatter) {
|
||||
$this->download($content->getData(), $response);
|
||||
} else {
|
||||
$response->header('Content-Type', $emitter->getResponseFormat());
|
||||
$response->end($content->getData());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user