Please sign in to comment.
lint: avoid TypeError on non-Hash-like response headers
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.
- Loading branch information...
Showing with 12 additions and 0 deletions.