From ff6b50fdf49f47befd22d2ad779f01d69c1f4570 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 20 Mar 2009 23:53:08 -0700 Subject: unicorn/http11: remove GATEWAY_INTERFACE It's a CGI-ism and is not in the Rack spec, so don't bother. --- test/unit/test_http_parser.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test') diff --git a/test/unit/test_http_parser.rb b/test/unit/test_http_parser.rb index ca1cd01..fc75990 100644 --- a/test/unit/test_http_parser.rb +++ b/test/unit/test_http_parser.rb @@ -25,11 +25,10 @@ class HttpParserTest < Test::Unit::TestCase assert_equal '/', req['REQUEST_PATH'] assert_equal 'HTTP/1.1', req['HTTP_VERSION'] assert_equal '/', req['REQUEST_URI'] - assert_equal 'CGI/1.2', req['GATEWAY_INTERFACE'] assert_equal 'GET', req['REQUEST_METHOD'] assert_nil req['FRAGMENT'] assert_nil req['QUERY_STRING'] - + parser.reset assert parser.nread == 0, "Number read after reset should be 0" end -- cgit v1.2.3-24-ge0c7