getsentry/raven-php — pull request #50 by GromNaN (2012-11-16 14:08:46+00:00)
Title: Extract request headers from $_SERVER

`headers_list` returns response headers and the previous function `getallheaders` works only with Apache.

This code is partially extracted form Symfony2: https://github.com/symfony/HttpFoundation/blob/master/ServerBag.php#L28