about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-09-02 00:51:28 -0700
committerEric Wong <normalperson@yhbt.net>2009-09-02 00:51:28 -0700
commite671000b5b3729ff5c6f9efdb313e599ae5ebee7 (patch)
tree7428e584e98b1b7e94357ff90a2ae3ae63286dd8
parent40fcf09b1c2fdd87be199bc7b68a28ae538fae3f (diff)
downloadunicorn-e671000b5b3729ff5c6f9efdb313e599ae5ebee7.tar.gz
SERVER_PROTOCOL is actually defined as "HTTP/1.1 even though it
should not be for HTTP/0.9 responses.
-rw-r--r--test/unit/test_http_parser_ng.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/test_http_parser_ng.rb b/test/unit/test_http_parser_ng.rb
index d9ee9d2..f5b575b 100644
--- a/test/unit/test_http_parser_ng.rb
+++ b/test/unit/test_http_parser_ng.rb
@@ -294,6 +294,7 @@ class HttpParserNgTest < Test::Unit::TestCase
       "PATH_INFO"=>"/read-rfc1945-if-you-dont-believe-me",
       "REQUEST_URI"=>"/read-rfc1945-if-you-dont-believe-me",
       "SERVER_PORT"=>"80",
+      "SERVER_PROTOCOL"=>"HTTP/1.1", # FIXME
       "REQUEST_METHOD"=>"GET",
       "QUERY_STRING"=>""
     }