public function output(string $mime)
    {
        $output = $this->getOutput($mime);
        if (empty($output))
            $output = "Unknown mime type requested";

        echo $output;
        return $this;
    }