[
https://issues.apache.org/jira/browse/THRIFT-2756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17364494#comment-17364494
]
Jens Geyer commented on THRIFT-2756:
------------------------------------
{quote}
{code}
Content-Type: application/vnd.apache.thrift.json; charset=utf-8 # 8-bit text
Content-Type: application/x-thrift;p=(compact|binary|json)
{code}
{quote}
Any idea how format-changing layered protocols would come into play with this?
Like framed or zlib, for example.
> 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
> Priority: Major
> Fix For: 0.9.3
>
>
> 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
(v8.3.4#803005)