From a1c7992d47ac820c64604b8aeb8779a0bf741fcf Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 5 Feb 2009 15:16:18 -0800 Subject: Simplify HttpResponse since we only handle Rack now The previous API was very flexible, but I don't think many people really cared for it... We now repeatedly use the same HeaderOut in each process since I completely don't care for multithreading. --- lib/unicorn/const.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/unicorn/const.rb') diff --git a/lib/unicorn/const.rb b/lib/unicorn/const.rb index b44bb29..8e52d4b 100644 --- a/lib/unicorn/const.rb +++ b/lib/unicorn/const.rb @@ -113,6 +113,7 @@ module Unicorn HTTP_IF_NONE_MATCH="HTTP_IF_NONE_MATCH".freeze REDIRECT = "HTTP/1.1 302 Found\r\nLocation: %s\r\nConnection: close\r\n\r\n".freeze HOST = "HOST".freeze + CONNECTION = "Connection".freeze end end -- cgit v1.2.3-24-ge0c7