Add RawDisplayHandler and fix RSS/Atom not producing the correct headers

This commit is contained in:
Kijin Sung 2020-12-13 22:06:16 +09:00
parent 35203b684d
commit a405b91e42
5 changed files with 49 additions and 4 deletions

View file

@ -187,7 +187,7 @@ class rssView extends rss
Context::set('info', $info);
// Set XML Output
Context::setResponseMethod('XMLRPC');
Context::setResponseMethod('RAW', 'text/xml');
$this->setTemplatePath($this->module_path . 'tpl/format');
$this->setTemplateFile($template);
}