Zend Framework

ContextSwitch doc states incorrect XML content-type header

Details

  • Type: Docs:  Problem Docs: Problem
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.11.11
  • Component/s: Zend_Controller
  • Labels:
    None

Description

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

Activity

Hide
Ramon Henrique Ornelas added a comment -

Fix r24438 merged to branch release 1.11 r24439.

Show
Ramon Henrique Ornelas added a comment - Fix r24438 merged to branch release 1.11 r24439.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: