(PECL pecl_http:0.12.0-1.5.5)
HttpRequest::setHeaders — Set headers
Set request header name/value pairs.
an associative array as parameter containing header name/value pairs; if empty or omitted, all previously set headers will be unset
Devuelve TRUE si todo se llevó a cabo correctamente, FALSE en caso de fallo.