(PECL pecl_http >= 0.10.0)
HttpRequest::getHeaders — Get headers
Get previously set request headers.
Returns an associative array containing all currently set headers.