Link to LH : https://rails.lighthouseapp.com/projects/8994/tickets/5277-rails-300rc-responds-strangely-to-empty-accept-header
Failing test for empty accept header [#5277]
Implemented fix for LH#5277: Empty (or missing) HTTP_ACCEPT header me…
…ans the client accepts all the media types
The patch looks almost good! I would just set a default accept header in the accepts method and not in formats. And could I ask you to send the patches to LH instead if we have an open ticket? Otherwise the discussion is broken in two different places. Thanks!
Ugh, it seems github lost our comments. :)
So, can you please send a new pull request with all the commits that need to be included? Thanks a lot :)
Eheh no prob: #104