@api
Overrides HeaderBag::replace
public function replace(array $headers = array()) { $this->headerNames = array(); parent::replace($headers); if (!isset($this->headers['cache-control'])) { $this ->set('Cache-Control', ''); } }