rails/rails — pull request #6148 by twinturbo (2012-05-03 23:21:50+00:00)
Title: Make ActionController#head pass rack-link

This commit makes head responses pass rack-lint. I came across this bug while implementing HTTP caching in our application. According to rack-lint the content-type header must not be present for 1xx, 204, 205, and 304. I was getting weird 500s in our app because responses were blowing up in rack-lint. This commit fixes that. All the other tests pass.