[ 
https://issues.apache.org/jira/browse/ARROW-7396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16998111#comment-16998111
 ] 

Maarten Breddels commented on ARROW-7396:
-----------------------------------------

According to [https://en.wikipedia.org/wiki/Media_type]
_(about using x. or x-):_ _Media types in this tree cannot be registered. 
According to RFC 6838 (published in January 2013), any use of types in the 
unregistered tree is strongly discouraged. In addition, subtypes prefixed with 
{{x-}} or {{X-}} are no longer considered to be members of this tree._

This refers to [https://tools.ietf.org/html/rfc6838]

It seems to me that registring with a vnd prefix is more likely to be accepted 
at [https://www.iana.org/form/media-types]
 * application/vnd.apache.arrow.file
 * application/vnd.apache.arrow.stream

Possibly with an optional parameter for a version?

I have to serialize Apache Arrow Tables in JSON files and want to store the 
mime type with it, hence my interest.

> [Format] Register media types (MIME types) for Apache Arrow formats to IANA
> ---------------------------------------------------------------------------
>
>                 Key: ARROW-7396
>                 URL: https://issues.apache.org/jira/browse/ARROW-7396
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Format
>            Reporter: Kouhei Sutou
>            Priority: Major
>
> See "MIME types" thread for details: 
> https://lists.apache.org/thread.html/b15726d0c0da2223ba1b45a226ef86263f688b20532a30535cd5e267%40%3Cdev.arrow.apache.org%3E
> Summary:
>   * If we don't register our media types for Apache Arrow formats (IPC File 
> Format and IPC Streaming Format) to IANA, we should use "x-" prefix such as 
> "application/x-apache-arrow-file".
>   * It may be better that we reuse the same manner as Apache Thrift. Apache 
> Thrift registers their media types as "application/vnd.apache.thrift.XXX". If 
> we use the same manner as Apache Thrift, we will use 
> "application/vnd.apache.arrow.file" or something.
> TODO:
>   * Decide which media types should we register. (Do we need vote?)
>   * Register our media types to IANA.
>   ** Media types page: 
> https://www.iana.org/assignments/media-types/media-types.xhtml
>   ** Application form for new media types: 
> https://www.iana.org/form/media-types



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to