This won’t work in Kohana 3.2 for some reason:
$this->request->headers['Content-Type'] = 'text/xml';
Has this changed since Kohana 3.1?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It should not work in 3.1 either, but this should:
See http://kohanaframework.org/3.2/guide/api/Request#headers
This was one of the Request/Response refactoring changes from 3.1.