about summary refs log tree commit homepage
path: root/lib/rainbows/server_token.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-11-14 02:47:23 +0000
committerEric Wong <e@80x24.org>2015-11-18 02:20:23 +0000
commit9c9e3949b2ef2f299ff1590d23aa4d053b60a2fd (patch)
tree0ee6e193dc98e81a88a647b03e424c1d68516813 /lib/rainbows/server_token.rb
parent9f9f6a2f76e2dd0cd2ab6e6b4b591f93b21a6ddc (diff)
downloadrainbows-9c9e3949b2ef2f299ff1590d23aa4d053b60a2fd.tar.gz
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.
Diffstat (limited to 'lib/rainbows/server_token.rb')
0 files changed, 0 insertions, 0 deletions