ZF-11406: ContextSwitch doc states incorrect XML content-type header

Issue Type: Docs: Problem Created: 2011-05-24T23:38:52.000+0000 Last Updated: 2011-09-03T19:59:56.000+0000 Status: Resolved Fix version(s): - 1.11.11 (29/Sep/11)

Reporter: Phil Brown (philbrown) Assignee: Ramon Henrique Ornelas (ramon) Tags: - Zend_Controller

Related issues: Attachments:


The documentation for the ContextSwitch helper states the XML context will set the content-type response header to text/xml.

This is incorrect as the code actually sets the header to application/xml.

See Zend/Controller/Action/Helper/ContextSwitch.php:149


Posted by Ramon Henrique Ornelas (ramon) on 2011-09-03T19:59:56.000+0000

Fix r24438 merged to branch release 1.11 r24439.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.