Appropriate Content-Type for Erlang Source
Wed Dec 16 03:39:23 CET 2009
c uses text/plain or text/x-c
c++ uses text/plain
java uses text/plain or text/x-java-source
...so it seems there's no real consensus. If I were asked I'd say
erlang is closest in purity and practical goals to c, so I'd probably
text/plain and text/erlang --- though it may be more useful to lobby
for binary erlang term format or ubf since these are designed for
network transfer. Since the term "bert" makes me squirm I'd probably
suggest application/etf or application/ubf for those two.
On Dec 15, 1:58 pm, Jayson Vantuyl <> wrote:
> What's the appropriate content-type (i.e. MIME type) for Erlang source (and, for that matter, Erlang BEAM files)?
> I suspect the answer is text/plain (and application/octet-stream, respectively).
> That said, I'd prefer to have something more descriptive. Maybe text/x-erlang (and application/x-beam-vm for starters. For that matter, Erlang could apply to get an officially registered Content-Type. For starters, it seems we could maybe get Debian to add an official mime-type for Erlang just by sending an e-mail (to apparently). Is this appealing to anybody, or do I just have MIME on the brain?
> Jayson Vantuyl
> erlang-questions mailing list. Seehttp://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
More information about the erlang-questions