httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r1162876 - /httpd/test/framework/trunk/t/apache/byterange7.t
Date Mon, 29 Aug 2011 15:42:13 GMT
Author: rpluem
Date: Mon Aug 29 15:42:13 2011
New Revision: 1162876

URL: http://svn.apache.org/viewvc?rev=1162876&view=rev
Log:
* Guess that should have been 416 (range not satisfiable). 216 is no offical HTTP return code.

Modified:
    httpd/test/framework/trunk/t/apache/byterange7.t

Modified: httpd/test/framework/trunk/t/apache/byterange7.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/apache/byterange7.t?rev=1162876&r1=1162875&r2=1162876&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/apache/byterange7.t (original)
+++ httpd/test/framework/trunk/t/apache/byterange7.t Mon Aug 29 15:42:13 2011
@@ -60,7 +60,7 @@ foreach my $range (@test_cases2, @test_c
     my $result = GET $url, "Range" => "$range";
     my $code = $result->code;
     print "Got $code\n";
-    if ($code == 216) {
+    if ($code == 416) {
         # guess that's ok
         ok(1);
     }



Mime
View raw message