rails/rails — pull request #9541 by maximerety (2013-03-04 14:47:31+00:00)
Title: Fix formats on xhr requests when HTTP_ACCEPT is empty string

Fix ActionDispatch::Request#formats on xhr requests when HTTP_ACCEPT
header is empty string. About issue #7774, same fix as in commit bebb02f
but for xhr requests.