According to SPEC (and check_headers), Response headers need only respond to #each. Thus, check_hijack_response should rely on Rack::Utils::HeaderHash if it wishes to access the headers in a hash-like fashion.
If size is added as a formal requirement, revert this commit. Till then Lint should bomb if middleware tries to access env['rack.input'].size. Discussion about adding #size to rack.input http://groups.google.com/group/rack-devel/browse_thread/thread/9c06163a4b13ccad
…and enforce it in Rack::Lint Signed-off-by: Joshua Peek <firstname.lastname@example.org>
…minor styling improvements.