From 8daf254356241c135ad2c843de567910528a10a7 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 7 Oct 2010 06:55:22 +0000 Subject: start using more compact parser API This should be easier for Rainbows! to use --- lib/unicorn/http_server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/unicorn/http_server.rb') diff --git a/lib/unicorn/http_server.rb b/lib/unicorn/http_server.rb index 5d6c023..513269f 100644 --- a/lib/unicorn/http_server.rb +++ b/lib/unicorn/http_server.rb @@ -521,7 +521,7 @@ class Unicorn::HttpServer r = @app.call(env) end # r may be frozen or const, so don't modify it - @request.response_headers? or r = [ r[0], nil, r[2] ] + @request.headers? or r = [ r[0], nil, r[2] ] http_response_write(client, r) rescue => e handle_error(client, e) -- cgit v1.2.3-24-ge0c7