httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@ebuilt.com>
Subject Re: cvs commit: httpd-test/perl-framework/t/apache 404.t
Date Mon, 22 Oct 2001 19:07:19 GMT
On Mon, Oct 22, 2001 at 11:50:33AM -0700, john sachs wrote:
> On Mon, Oct 22, 2001 at 05:16:09PM -0000, coar@apache.org wrote:
> +   -ok ($four_oh_four =~ /HTTP\/1\.[01] 404 Not Found/);
> +   +ok (($four_oh_four =~ /HTTP\/1\.[01] Not Found/)
> +   +    || ($four_oh_four =~ /RC:\s+404.*Message:\s+Not Found/s));
> +    ok ($four_oh_four =~ /Content-Type: text\/html/);
> 
> why did you take the '404' out of /HTTP\/1\.[01] 404 Not Found/?
> now it fails for me.  did you mean to do that?

Shouldn't it just match "HTTP/1\.[01] 404" as the reason phrases
are arbitrary (see RFC 2616 6.1.1)?  -- justin


Mime
View raw message