On Mon, Oct 22, 2001 at 11:50:33AM -0700, john sachs wrote: > On Mon, Oct 22, 2001 at 05:16:09PM -0000, [EMAIL PROTECTED] 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