ZF-4051: XML context for ContextSwitch uses deprecated Content-Type header

Issue Type: Bug Created: 2008-08-24T14:24:37.000+0000 Last Updated: 2008-09-02T10:38:58.000+0000 Status: Resolved Fix version(s): - 1.6.0 (02/Sep/08)

Reporter: Matthew Turland (elazar) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Controller

Related issues: Attachments: - ContextSwitch.php.patch


The default XML context used by the ContextSwitch action helper sets the Content-Type header to a value of text/xml, which is being deprecated in favor of application/xml. This change is already visible in applications such as Firefox 3. See… for more details.


Posted by Matthew Turland (elazar) on 2008-08-24T14:26:52.000+0000

Added a patch file that modifies the Content-Type header value being set in the ContextSwitch action helper class file as per the issue description.

Posted by Matthew Weier O'Phinney (matthew) on 2008-08-24T14:34:54.000+0000

Scheduling for RC3

Posted by Matthew Weier O'Phinney (matthew) on 2008-08-24T14:40:27.000+0000

Fixed in trunk and 1.6 release branch

Posted by Wil Sinclair (wil) on 2008-09-02T10:38:58.000+0000

Updating for the 1.6.0 release.

Have you found an issue?

See the Overview section for more details.


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

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