|
|
@@ -103,7 +103,7 @@ class NewsController extends Zend_Controller_Action
|
|
|
<itemizedlist>
|
|
|
<listitem>
|
|
|
<para>
|
|
|
- Set the 'Content-Type' response header to '<filename>text/xml</filename>'.
|
|
|
+ Set the 'Content-Type' response header to '<filename>application/xml</filename>'.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
|
|
|
@@ -187,7 +187,7 @@ $this->_helper->contextSwitch()->setAutoJsonSerialization(false);
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<emphasis><acronym>XML</acronym></emphasis>. The <acronym>XML</acronym> context
|
|
|
- sets the 'Content-Type' response header to '<filename>text/xml</filename>', and
|
|
|
+ sets the 'Content-Type' response header to '<filename>application/xml</filename>', and
|
|
|
the view script suffix to '<filename>xml.phtml</filename>'. You will need to
|
|
|
create a new view script for the context.
|
|
|
</para>
|