* Too easy to miss during updates * Required format unchanged * Closes #501
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.
HTTP 1.0 and 1.1 do not have MUST for Content-Type requirements, they have "should" (not SHOULD). They also have text describing how clients should handle this header being missing.
* This item is frequently missed, including in core. * This is not a change in semantic requirement, and does not update the SPEC version.
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.
This reverts commit 7a3d21f.