Re: [media-types] TypeScript

Sean Leonard <dev+ietf@seantek.com> Fri, 22 November 2019 03:22 UTC

Return-Path: <dev+ietf@seantek.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 6CEF9120072 for <media-types@ietfa.amsl.com>; Thu, 21 Nov 2019 19:22:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.498
X-Spam-Level:
X-Spam-Status: No, score=-1.498 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.4, SPF_NONE=0.001, URIBL_BLOCKED=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 GCWTWvfnQOL5 for <media-types@ietfa.amsl.com>; Thu, 21 Nov 2019 19:22:30 -0800 (PST)
Received: from pechora1.lax.icann.org (pechora1.icann.org [192.0.33.71]) (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 8407F120071 for <media-types@ietf.org>; Thu, 21 Nov 2019 19:22:30 -0800 (PST)
Received: from relay12.mail.gandi.net (relay12.mail.gandi.net [217.70.178.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pechora1.lax.icann.org (Postfix) with ESMTPS id 25F021E04F0 for <media-types@iana.org>; Fri, 22 Nov 2019 03:22:30 +0000 (UTC)
Received: from dhcp-8c18.meeting.ietf.org (dhcp-8c18.meeting.ietf.org [31.133.140.24]) (Authenticated sender: sean@seantek.org) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 5AF88200002; Fri, 22 Nov 2019 03:22:05 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\))
From: Sean Leonard <dev+ietf@seantek.com>
In-Reply-To: <CAJ2SvnkmcOG=KNW=x5FLj_4uqWow3Uwdh714PxDcd7t0sU907g@mail.gmail.com>
Date: Fri, 22 Nov 2019 11:21:59 +0800
Cc: media-types@iana.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <FE3FBC00-986F-4121-8F45-3F3C8F5DB08A@seantek.com>
References: <CAJ2SvnkmcOG=KNW=x5FLj_4uqWow3Uwdh714PxDcd7t0sU907g@mail.gmail.com>
To: David Caldwell <david@davidpcaldwell.com>
X-Mailer: Apple Mail (2.3445.104.8)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/eipxKdjGhU8ybLy1eUJLdRqSstQ>
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 03:22:31 -0000

> On Nov 21, 2019, at 4:08 AM, David Caldwell <david@davidpcaldwell.com> wrote:
> 
> I have an open source product that assumes all files (that may contain source code) have a MIME type, and I am attempting to enhance it to process TypeScript files.
> 
> I am looking at the vnd., prs., and x. trees for implementing it, and RFC 6838 "encourages" asking here in order to improve the quality of media type names.
> 
> 1. Is anything already underway surrounding TypeScript, which obviously is becoming more and more pervasive?

I have not seen anything, but I do not think that a media type for TypeScript is really needed.

> 
> 2. What would be a good name for me to use for internal use?

text/plain

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).

Regards,

Sean

> 
> - David P,. Caldwell
> david@davidpcaldwell.com
> http://www.davidpcaldwell.com/
> _______________________________________________
> media-types mailing list
> media-types@ietf.org
> https://www.ietf.org/mailman/listinfo/media-types