Lines Matching refs:httpHeaders
19 protected $httpHeaders = array();
322 * @param array $httpHeaders
324 public function setHttpHeaders($httpHeaders = null)
326 // use global _SERVER if $httpHeaders aren't defined
327 if (!is_array($httpHeaders) || !count($httpHeaders)) {
328 $httpHeaders = $_SERVER;
331 $this->httpHeaders = array();
334 foreach ($httpHeaders as $key => $value) {
336 $this->httpHeaders[$key] = $value;
363 if (false === empty($this->httpHeaders[$altHeader])) { // @todo: should use getHttpHeader(), but it would be slow.
364 $this->userAgent .= $this->httpHeaders[$altHeader].' ';