No longer respecting Accept header #12827

nbolt opened this Issue Nov 9, 2013 · 2 comments


None yet

2 participants


Just updated rails to 4.0.1 and it seems to no longer respect the Accept header. All pages render in html by default and my json resources trigger an UnknownFormat exception. I've had to resort to manually parsing env['HTTP_ACCEPT'] and setting request.format myself.

Ruby on Rails member

Could you create an example application to reproduce this bug?


hm.. doesn't seem to happen on a new rails app. I don't understand why it would suddenly not accept json on my app though. I guess I'll do more digging.

@nbolt nbolt closed this Nov 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment