Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a commonly used MIME type for Thrift?

If not, "application/x-thrift" could be an option (inspired on http://www.slideshare.net/mokeefe/javaone-2009-ts5276-restful-protocol-buffers). Any other suggestions?

like image 382
miguelv Avatar asked Sep 18 '25 04:09

miguelv


1 Answers

EDIT: please see more up to date response from Jon Parise.

Took me a while to confirm this so I'm ending up answering to my own question. In the Thrift .NET runtime library, class Thrift.Transport.THttpClient I found "request.ContentType = "application/x-thrift";"

So it appears my assumption matches the recommendation.

like image 152
miguelv Avatar answered Sep 23 '25 12:09

miguelv