perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From steve...@apache.org
Subject svn commit: r1777317 - /perl/modperl/trunk/t/apache/read.t
Date Wed, 04 Jan 2017 14:03:23 GMT
Author: stevehay
Date: Wed Jan  4 14:03:22 2017
New Revision: 1777317

URL: http://svn.apache.org/viewvc?rev=1777317&view=rev
Log:
HTTP/1.1 RFC 7230, section 2.6. "Protocol Versioning" says the HTTP name
is case sensitive. Starting with Apache 2.4.25, using lower case will
make the server issue a 400 Bad request response, causing a test failure.

https://tools.ietf.org/html/rfc7230#section-2.6

Bug-Debian: https://bugs.debian.org/849082

[Patch from Niko Tyni <ntyni@debian.org>]

Modified:
    perl/modperl/trunk/t/apache/read.t

Modified: perl/modperl/trunk/t/apache/read.t
URL: http://svn.apache.org/viewvc/perl/modperl/trunk/t/apache/read.t?rev=1777317&r1=1777316&r2=1777317&view=diff
==============================================================================
--- perl/modperl/trunk/t/apache/read.t (original)
+++ perl/modperl/trunk/t/apache/read.t Wed Jan  4 14:03:22 2017
@@ -24,7 +24,7 @@ close $fh;
 
 my $size = length $data;
 
-for my $string ("POST $location http/1.0",
+for my $string ("POST $location HTTP/1.0",
                 "Content-length: $size",
                 "") {
     my $line = "$string\r\n";



Mime
View raw message