title: Forcing Laravel response status code
body: <p>I'm building a REST API in Laravel and when a new user is created I want to return a 201 status code and a <code>Location</code> header to point to the new resource.</p>
  
  <p>Most of that is being achieved using this code:</p>
  
  <pre><code>$response = Response::make(null, 201)-&gt;header('Location', Config::get('app.url') . '/v1/users/' . $user-&gt;id);
  return $response;
  </code></pre>
  
  <p>However Laravel seems to be overriding what I set as the status code because I'm setting a <code>Location</code> header, as I'm getting a <code>302 Moved Temporarily</code> header back.</p>
  
  <p>How can I force a 201 status code even when I'm specifying a <code>Location</code> header?</p>