> Shouldn't Rails coerce these new almost standart headers to application/jsonNo, 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 andMaking it work with respond_to :"vnd.foo-v1+json" seems fine, though.
> 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.