title: Laravel won't obey status code
body: <p>I just can't understand, and don't know where else to look, as the response status code of the following code is always 200, even if I set it to 400 in the main Response class.</p>
  
  <pre><code>class Api_Controller extends Base_Controller
  {
  
      public function __construct()
      {
            parent::__construct();
  
            //header("HTTP/1.0 404 Not Found"); ##&gt; This works
            //die();
  
            $test = array('1' =&gt; '2');
            die(Response::json($test, 400));
      }
  </code></pre>
  
  <p>What am I missing? I'm not using any extended class, just the default...</p>
  
  <h2>Update</h2>
  
  <p>This is the output of the <code>Response::json...</code> above: <a href="http://pastebin.com/RGcinSdg" rel="noreferrer">http://pastebin.com/RGcinSdg</a></p>
  
  <p>As you can see, the output has the values that has been set... but still for some reason, returns 200</p>
  
  <h2>Update2</h2>
  
  <p>The output of <code>var_dump(http_response_code());</code> is always <code>200</code></p>
  
  <h2>Update3 - Temporary fix</h2>
  
  <p>I have activated an extended version of <code>Response::json</code> and add the following line to it </p>
  
  <pre><code>http_response_code($status);
  </code></pre>
  
  <p>But I would still much like to know why doesn't it does it, the way it should</p>