reflect changes in Rack::Utils::HTTP_STATUS_CODES
commitb0d10d473bc5fdc9b3f6f1fd4f2d300651b77428
authorEric Wong <e@80x24.org>
Tue, 30 Jun 2015 22:19:19 +0000 (30 22:19 +0000)
committerEric Wong <e@80x24.org>
Tue, 30 Jun 2015 22:33:40 +0000 (30 22:33 +0000)
treeb8dea5c54f2d4ca3084f447bba9925b4ca88e52a
parent1db9a8243d42cc86d5ca4901bceb305061d0d212
reflect changes in Rack::Utils::HTTP_STATUS_CODES

Applications may want to alter the message associated with HTTP
status codes in Rack::Utils::HTTP_STATUS_CODES.  Avoid memoizing
status lines ahead-of-time

Note: this introduces a minor performance regression, but ought to
be unnoticeable unless you're running "Hello world"-type apps.
lib/unicorn/http_response.rb
test/unit/test_response.rb