[eluser]Fenix[/eluser]
I'm working with the _remap() method recommended by slowgary above, it's working great for the xml type but when I get to the php type, CI is assuming I'm looking for a php file and gives me a 404 Not Found error. Any way I can get around this?
Here is what I have so far. It doesn't actually remap anything but it gets the content type for the response at least for xml.
Code:
function _remap($method)
{
$content_type = stristr($method, '.');
switch($content_type)
{
case '.php': $this->content_type = 'php'; break;
case '.xml': $this->content_type = 'xml'; break;
default: $this->errors[] = 1003;
}
}