diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-03-20 23:53:08 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-03-21 01:46:12 -0700 |
commit | ff6b50fdf49f47befd22d2ad779f01d69c1f4570 (patch) | |
tree | 1e816c7f9c7478774b34d5bfad3ad2d635a21ae3 /test/unit/test_http_parser.rb | |
parent | d4ad97e9048ee13b2b444ed4cd10439b5fedfb61 (diff) | |
download | unicorn-ff6b50fdf49f47befd22d2ad779f01d69c1f4570.tar.gz |
It's a CGI-ism and is not in the Rack spec, so don't bother.
Diffstat (limited to 'test/unit/test_http_parser.rb')
-rw-r--r-- | test/unit/test_http_parser.rb | 3 |
1 files changed, 1 insertions, 2 deletions
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 |