The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: Steve Klabnik <st...@steveklabnik.com>
Date: Wed, 31 Oct 2012 07:50:26 -0700
Local: Wed, Oct 31 2012 10:50 am
Subject: Re: [Rails-core] Custom accept headers
> Shouldn't Rails coerce these new almost standart headers to application/json
No, because 'application/vnd.foo-v1+json' is not 'application/json.'
> and applicatioin/xml (for previous example) ? The "+foo" convention was actually introduced in RFC3023, specifically for XML formats. But it's only a convention, as the RFC says: > A.13 What is the semantic difference between application/foo and
Making it work with respond_to :"vnd.foo-v1+json" seems fine, though.
> application/foo+xml? > MIME processors that are unaware of XML will treat the '+xml' suffix
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||