1

Zend default ContextSwitch Action Helper for XML wrongly sets the Content-Type header to "application/xml" while the documentation claims it sets it to "test/xml".

Did anybody else bump into this. Is it a bug ? Thanks.

zend Action helper documentation

1 Answer 1

1

That's definitely a documentation bug.

From the code

'xml'  => array(
    'suffix'    => 'xml',
    'headers'   => array('Content-Type' => 'application/xml'),
)

Update: Bug filed - http://framework.zend.com/issues/browse/ZF-11406

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.