Closed ghost closed 6 years ago
I am trying to figure out how to change Content-Type in headers of routers response. Is there a way maybe to add/change some of them from lets say text/html to text/xml?
$response->header($name, $value);
I am trying to figure out how to change Content-Type in headers of routers response. Is there a way maybe to add/change some of them from lets say text/html to text/xml?