public static function getFormatByAcceptHeader($header)
    {
        if(isset(self::$mimeMapper[$header])) {
            return self::$mimeMapper[$header];
        } else {
            return self::$format;
        }
    }