(PECL pecl_http >= 0.12.0)
HttpRequest::setHeaders — Set headers
$headers
] )Set request header name/value pairs.
headers
an associative array as parameter containing header name/value pairs; if empty or omitted, all previously set headers will be unset
Restituisce TRUE
in caso di successo, FALSE
in caso di fallimento.