title: 404 Page Not Found With CodeIgniter REST_Controller
body: <p>I'm trying to use <a href="https://github.com/philsturgeon/codeigniter-restserver" rel="nofollow">CodeIgniter REST_Controller</a>. Following is my code.</p>
  
  <pre><code>&lt;?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  
  require_once (APPPATH.'/libraries/REST_Controller.php');
  
  class Test extends REST_Controller{
  
      public function index_get() {
          $this-&gt;response(array(''));
      }
  }
  </code></pre>
  
  <p>When I access <code>http://codeigniter/index.php/test</code> the response</p>
  
  <pre><code>&lt;xml&gt;&lt;item/&gt;&lt;/xml&gt;
  </code></pre>
  
  <p>is shown on the browser.</p>
  
  <p>But when trying to access </p>
  
  <p><code>http://codeigniter/index.php/test.xml</code> or <code>http://codeigniter/index.php/test.html</code> I get a 404 error.</p>
  
  <p>The documentation of the above mentioned library says that both</p>
  
  <pre><code>http://example.com/books.json 
  http://example.com/books?format=json
  </code></pre>
  
  <p>works with the library.</p>
  
  <p>Can someone point out to me what I'm doing wrong?</p>