public function __construct($route, $encoding) { $this->cookies = array(); $this->encoding = $encoding; $this->headers = array(); $this->route = $route; }