miyagawa/rack-accept-default — pull request #1 by r7kamura (2013-04-26 05:33:50+00:00)
Title: Override nil Accept header

In rspec-rails, request-specs provide some methods to create a request with default HTTP_ACCEPT value. While we can override this value with nil, Rack::AcceptDefault ignores that because it checks only the existentence of HTTP_ACCEPT key. So, I want it to check the value of env["HTTP_ACCEPT"].