I’m attempting to build an API that can return a marshaled Ruby object and I was wondering if there is a MIME type for such an object.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There’s no common ruby mime type. (See the official list of application mime types)
Per the RFC, you can however use experimental or private mime types, by preceding them wiht X- so:
application/x-rubysounds like a good mime type to me.
Cheers