(PECL pecl_http >= 0.10.0)
HttpRequest::addHeaders — Add headers
$headers
)Add request header name/value pairs.
headers
an associative array as parameter containing additional header name/value pairs
Returns TRUE
on success or FALSE
on failure.