about summary refs log tree commit homepage
path: root/lib/rainbows/stream_response_epoll.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/stream_response_epoll.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/stream_response_epoll.rb')
-rw-r--r--lib/rainbows/stream_response_epoll.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/stream_response_epoll.rb b/lib/rainbows/stream_response_epoll.rb
index 33d7386..c0d90a4 100644
--- a/lib/rainbows/stream_response_epoll.rb
+++ b/lib/rainbows/stream_response_epoll.rb
@@ -31,7 +31,7 @@ module Rainbows::StreamResponseEpoll
     if headers
       # don't set extra headers here, this is only intended for
       # consuming by nginx.
-      buf = "HTTP/1.0 #{status}\r\nStatus: #{status}\r\n"
+      buf = "HTTP/1.0 #{status}\r\n"
       headers.each do |key, value|
         case key
         when "rack.hijack"