CodeIgniter Forums
Response - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: Response (/showthread.php?tid=75135)



Response - Dedov_Evgeniy - 12-29-2019

PHP Code:
return $this->response->setJSON($data);
return 
$this->response->setXML($data); 

Tell me these are the final methods? That is, nothing is executed after sending?


RE: Response - MGatner - 12-29-2019

Responses still go through “after” filters and post-processing (like setting headers, etc).