Small garbage reduction in HttpResponse
commit95fa512342b4495cf9d56bbf663aa2114a85a4e1
authorEric Wong <normalperson@yhbt.net>
Fri, 17 Apr 2009 05:28:06 +0000 (16 22:28 -0700)
committerEric Wong <normalperson@yhbt.net>
Fri, 17 Apr 2009 05:31:32 +0000 (16 22:31 -0700)
tree49f05085be19f91c2c63d11c5fddc31d9827030d
parent9c4c5f03b5dccbbaa263a0d0eace0fca3a2d1180
Small garbage reduction in HttpResponse

Avoid creating new string objects and then discarding them right
away by stuffing non-constant but always-present headers into
the initial output.
lib/unicorn/http_response.rb
test/unit/test_response.rb