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

Kevin Wooten commented on THRIFT-2756:
--------------------------------------

Interesting to see this as I didn't know it existed.  As I mentioned in a list 
post recently, we have bee using 
{{application/x-thrift;p=(compact|binary|json)}} when using the HTTP transport. 
It seems like the tools in Java (JAX-RS and such) allowed easily switching on a 
parameter of a media type; not that this would be much different if we were 
using these completely separate media types.

Is {{application/x-thrift}} considered bad form?


> 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
>             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
(v6.3.4#6332)

Reply via email to