mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
docs: replace Content-type
with Content-Type
This commit is contained in:
parent
797b51ee8d
commit
e90d56f5d7
@ -6,7 +6,7 @@ $response = response();
|
|||||||
|
|
||||||
$response->setStatusCode(Response::HTTP_OK);
|
$response->setStatusCode(Response::HTTP_OK);
|
||||||
$response->setBody($output);
|
$response->setBody($output);
|
||||||
$response->setHeader('Content-type', 'text/html');
|
$response->setHeader('Content-Type', 'text/html');
|
||||||
$response->noCache();
|
$response->noCache();
|
||||||
|
|
||||||
// Sends the output to the browser
|
// Sends the output to the browser
|
||||||
|
Loading…
x
Reference in New Issue
Block a user