public function location(string $location, bool $permanent = false)
    {
        $header = new Location($location);

        if ($permanent) {
            $header->setPermanent($permanent);
        }

        $this->addHeader($header);
    }