Return-Path: Delivered-To: apmail-httpd-test-dev-archive@httpd.apache.org Received: (qmail 10943 invoked by uid 500); 22 Oct 2001 19:07:41 -0000 Mailing-List: contact test-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: test-dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list test-dev@httpd.apache.org Received: (qmail 10915 invoked from network); 22 Oct 2001 19:07:40 -0000 Date: Mon, 22 Oct 2001 12:07:19 -0700 From: Justin Erenkrantz To: test-dev@httpd.apache.org Subject: Re: cvs commit: httpd-test/perl-framework/t/apache 404.t Message-ID: <20011022120719.F5405@ebuilt.com> Mail-Followup-To: Justin Erenkrantz , test-dev@httpd.apache.org References: <20011022171609.66470.qmail@icarus.apache.org> <20011022115033.F135@doom.sfo.covalent.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011022115033.F135@doom.sfo.covalent.net> User-Agent: Mutt/1.3.22.1i X-AntiVirus: scanned for viruses by AMaViS 0.2.1-pre3 (http://amavis.org/) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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