I would like to set the repsonse mime type to
application/xhtml+xml
How and where do I set that in Zend Framework? Thanks for your help.
在您的控制器操作中:
$this->getResponse()->setHeader('Content-type', 'application/xhtml+xml');
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.