(PECL pecl_http >= 0.12.0)
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
如果成功则返回 TRUE,失败则返回 FALSE。