title: Getting request Authorization header in ZF2 controller
body: <p>I am using ZF2 and for some reason, I can get all the headers I send EXCEPT the Authorization header - it's like its filtered out.</p>
  
  <p>I am trying to get all the headers in the controller like this:</p>
  
  <pre><code>    public function createAction($data) 
      {
          $request  = $this-&gt;request;
          print_r ($request-&gt;getHeaders());
          exit();
  
      }
  </code></pre>
  
  <p>I send the request through cURL like this:</p>
  
  <pre><code>curl -i -H "Accept: test" -H "Authorization: 123456" -H "Content-Type: qwerty" -X POST http://localhost/test
  </code></pre>
  
  <p>All headers prints out EXCEPT authorization header. I can add any arbitrary header and it prints it out - just no the 'Authorization' header...</p>
  
  <p>I've also tried to get()/has() for the authorization header, yet it does not exist.</p>