HttpResponse: use each instead of each_pair to iterate
commit92f412c8ead79524da5b823028dda14864f7f8ae
authorEric Wong <normalperson@yhbt.net>
Sat, 14 Feb 2009 06:56:36 +0000 (13 22:56 -0800)
committerEric Wong <normalperson@yhbt.net>
Sat, 14 Feb 2009 06:56:36 +0000 (13 22:56 -0800)
treecab15a121ec8c27cf31fe9f2cea424cad747bc9a
parent8215e3d17884e6e08d552ae89e067edd331ea05b
HttpResponse: use each instead of each_pair to iterate

Rack spec specifies #each must be defined, not #each_pair.

Hash#each_pair was marginally faster in Ruby 1.8, but in Ruby
1.9.1, Hash#each and Hash#each_pair are the same function.
lib/unicorn/http_response.rb