reflect changes in Rack::Utils::HTTP_STATUS_CODES
commit9c9e3949b2ef2f299ff1590d23aa4d053b60a2fd
authorEric Wong <e@80x24.org>
Sat, 14 Nov 2015 02:47:23 +0000 (14 02:47 +0000)
committerEric Wong <e@80x24.org>
Wed, 18 Nov 2015 02:20:23 +0000 (18 02:20 +0000)
tree0ee6e193dc98e81a88a647b03e424c1d68516813
parent9f9f6a2f76e2dd0cd2ab6e6b4b591f93b21a6ddc
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/rainbows/response.rb
lib/rainbows/stream_response_epoll.rb