public function addHttpHeader($name, $value, $force = true) { if (!$force && array_key_exists($name, $this->httpHeaders)) { return; } $this->httpHeaders[$name] = $value; return $this; }