mikekelly / hal_specification

HAL Specification
http://stateless.co/hal_specification.html
618 stars 58 forks source link

Mime type? #22

Closed kmarekspartz closed 9 years ago

kmarekspartz commented 9 years ago

Just wondering which mime type is preferred:

Thanks!

mikekelly commented 9 years ago

the ietf draft is also hal+json - it's only the title which is the other way round as that seems to be the convention for naming media type internet drafts

kmarekspartz commented 9 years ago

Sorry, temporarily dyslexic. roar-rails is using json+hal in its tests, so I think it threw me for a loop. Thanks!

mikekelly commented 9 years ago

@zeckalpha no worries at all. it's a miracle the internet works like it does despite @apotonick's best efforts to fuck it up.

apotonick commented 9 years ago

Oh, why isn't there any PR to fix this in roar-rails, yet????????

kmarekspartz commented 9 years ago

It looks like it is just in the tests, so I wasn't sure if it was intentional, i.e. to test for custom media types. I'll make one now.