src/Valkyrja/Http/NativeRequest.php
public function getMimeType(string $format): string
    {
        return isset(static::$formats[$format])
            ? static::$formats[$format][0]
            : null;
    }
public function getMimeType(string $format): string
    {
        return isset(static::$formats[$format])
            ? static::$formats[$format][0]
            : null;
    }
Gets the mime type associated with the format.

@param string $format The format

@return string