src/Charcoal/App/Route/RouteConfig.php
public function setHeaders(array $headers)
    {
        $this->headers = [];
        foreach ($headers as $name => $val) {
            $this->addHeader($name, $val);
        }
        return $this;
    }
public function setHeaders(array $headers)
    {
        $this->headers = [];
        foreach ($headers as $name => $val) {
            $this->addHeader($name, $val);
        }
        return $this;
    }
public function setHeaders ( array $ headers ) { $ this -> headers = [ ] ; foreach ( $ headers as $ name => $ val ) { $ this -> addHeader ( $ name , $ val ) ; } return $ this ; }
Add custom headers

@param array $headers The custom headers, in key=>val pairs.
@return self
Add custom headers