Re: [media-types] TypeScript

Petter Reinholdtsen <pere@hungry.com> Fri, 22 November 2019 07:51 UTC

Return-Path: <pere@hungry.com>
X-Original-To: media-types@ietfa.amsl.com
Delivered-To: media-types@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 08DE11200B5 for <media-types@ietfa.amsl.com>; Thu, 21 Nov 2019 23:51:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.499
X-Spam-Level:
X-Spam-Status: No, score=-1.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.4, SPF_NONE=0.001] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hqnZSFcN47cJ for <media-types@ietfa.amsl.com>; Thu, 21 Nov 2019 23:51:19 -0800 (PST)
Received: from pechora6.dc.icann.org (pechora6.icann.org [IPv6:2620:0:2830:201::1:72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 60F09120033 for <media-types@ietf.org>; Thu, 21 Nov 2019 23:51:19 -0800 (PST)
Received: from bouvier.getmail.no (bouvier.getmail.no [84.210.184.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pechora6.dc.icann.org (Postfix) with ESMTPS id 8C5FE1E0516 for <media-types@iana.org>; Fri, 22 Nov 2019 07:51:18 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id 1F59C4003B; Fri, 22 Nov 2019 08:50:49 +0100 (CET)
Received: from bouvier.getmail.no ([127.0.0.1]) by localhost (bouvier.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 0srgPFA6IdMS; Fri, 22 Nov 2019 08:50:47 +0100 (CET)
Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id B500D4003C; Fri, 22 Nov 2019 08:50:47 +0100 (CET)
X-Virus-Scanned: amavisd-new at bouvier.get.c.bitbit.net
Received: from bouvier.getmail.no ([127.0.0.1]) by localhost (bouvier.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id aSL6xeY-5Mho; Fri, 22 Nov 2019 08:50:47 +0100 (CET)
Received: from hjemme.reinholdtsen.name (cm-84.212.214.101.getinternet.no [84.212.214.101]) by bouvier.getmail.no (Postfix) with SMTP id 8452C4003B; Fri, 22 Nov 2019 08:50:47 +0100 (CET)
Received: (nullmailer pid 29584 invoked by uid 10001); Fri, 22 Nov 2019 07:50:47 -0000
From: Petter Reinholdtsen <pere@hungry.com>
To: David Caldwell <david@davidpcaldwell.com>, media-types@iana.org
In-Reply-To: <FE3FBC00-986F-4121-8F45-3F3C8F5DB08A@seantek.com>
References: <CAJ2SvnkmcOG=KNW=x5FLj_4uqWow3Uwdh714PxDcd7t0sU907g@mail.gmail.com> <FE3FBC00-986F-4121-8F45-3F3C8F5DB08A@seantek.com>
Date: Fri, 22 Nov 2019 08:50:46 +0100
Message-ID: <sa6v9rctkmh.fsf@hjemme.reinholdtsen.name>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/nZ-4NKcQSCoYDAIp802ueMIXAnY>
Subject: Re: [media-types] TypeScript
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IANA mailing list for reviewing Media Type \(MIME Type, Content Type\) registration requests." <media-types.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/media-types>, <mailto:media-types-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/media-types/>
List-Post: <mailto:media-types@ietf.org>
List-Help: <mailto:media-types-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/media-types>, <mailto:media-types-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Nov 2019 07:51:20 -0000

[Sean Leonard]
> Seriously. TypeScript is source code that is supposed to be compiled;
> it’s the same as with C/C++ files, or whatever. You would want a
> specific media type if it’s supposed to be handled differently by
> applications (as as in <script src=“…”> tags in HTML).

One use case for MIME types for both TypeScript and C/C++ files is to
pick the appropriate IDE when trying to open such file.  You might want
different IDEs to open when selecting C files and TypeScript files.

At least the KDE file browsers use MIME types internally to know how to
handle various files, and for these it is very valuable to have specific
format codes for each file format.

-- 
Happy hacking
Petter Reinholdtsen