I would suggest we consider +json rather than .json. The +json suffix will
allow general parsers (jax-rs, etc.) to read the media type without
intervention.

On Thursday, October 2, 2014, Roger Meier (JIRA) <j...@apache.org> wrote:

> Roger Meier created THRIFT-2756:
> -----------------------------------
>
>              Summary: register Media Type @ IANA
>                  Key: THRIFT-2756
>                  URL: https://issues.apache.org/jira/browse/THRIFT-2756
>              Project: Thrift
>           Issue Type: Improvement
>             Reporter: Roger Meier
>             Assignee: Roger Meier
>
>
> Discussion started here THRIFT-2674
>
> Goal is to get proper Content-Types for Apache Thrift:
> {noformat}
> Content-Type: application/vnd.apache.thrift.binary;             # binary
> Content-Type: application/vnd.apache.thrift.json; charset=utf-8 # 8-bit
> text
> Content-Type: application/vnd.apache.thrift.compact;            # binary
> {noformat}
>
> Binary was already accepted:
>
> http://www.iana.org/assignments/media-types/application/vnd.apache.thrift.binary
>
> json and compact are in Expert Review status.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)
>

Reply via email to