about summary refs log tree commit homepage
path: root/lib/rainbows/response.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-11-14 02:47:22 +0000
committerEric Wong <e@80x24.org>2015-11-18 02:20:21 +0000
commit9f9f6a2f76e2dd0cd2ab6e6b4b591f93b21a6ddc (patch)
tree207c1be9cba832b652725c87285088332eefa204 /lib/rainbows/response.rb
parent5d1e2f0ada7d63ad539bac7597d27ef2c4de2cdd (diff)
downloadrainbows-9f9f6a2f76e2dd0cd2ab6e6b4b591f93b21a6ddc.tar.gz
Whatever compatibility reasons which existed in 2009 likely do not exist
now.  Other servers (e.g. thin, puma) seem to work alright without it,
so there's no reason to waste precious bytes.
Diffstat (limited to 'lib/rainbows/response.rb')
-rw-r--r--lib/rainbows/response.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rainbows/response.rb b/lib/rainbows/response.rb
index b7b6aa8..db14ee4 100644
--- a/lib/rainbows/response.rb
+++ b/lib/rainbows/response.rb
@@ -42,8 +42,7 @@ module Rainbows::Response
     hijack = nil
     status = CODES[status.to_i] || status
     buf = "HTTP/1.1 #{status}\r\n" \
-          "Date: #{httpdate}\r\n" \
-          "Status: #{status}\r\n"
+          "Date: #{httpdate}\r\n"
     headers.each do |key, value|
       case key
       when %r{\A(?:Date\z|Connection\z)}i