How do I set the mime type in zend framework?
I would like to set the repsonse mime type to
application/xhtml+xml
How and where do I set that in Zend Framewor开发者_C百科k? Thanks for your help.
In your controller action:
$this->getResponse()->setHeader('Content-type', 'application/xhtml+xml');
精彩评论