codeguy/Slim — Issue #234: Add Authorization header to Slim_Http_Request::headers()
Author: brodrigu
Created: 2012-02-01 02:05:02+00:00
State: open

PHP and sometimes apache removes the 'Authorization' header from the $_SERVER variable.

Since Slim uses the $_SERVER variable instead of apache_request_headers() to retrieve the list of headers "Authorization" cannot be retrieved using $request->headers('Authorization').

Please update the headers function to check apache_request_headers() for missing headers.