Re: cvs: phpruntests /phpt-tests hw.phpsample_expectheaders.phpt sample_fileexternal.phpt

From: Date: Wed, 22 Apr 2009 22:50:21 +0000
Subject: Re: cvs: phpruntests /phpt-tests hw.phpsample_expectheaders.phpt sample_fileexternal.phpt
References: 1 2 3 4  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-57139@lists.php.net to get a copy of this message
Johannes Schlüter wrote: > On Wed, 2009-04-22 at 17:37 -0500, Greg Beaver wrote: > >> Johannes Schlüter wrote: >> >>> Hi, >>> >>> On Wed, 2009-04-22 at 16:14 +0000, Zoe Slattery wrote: >>> >>> >>>> --EXPECTHEADERS-- >>>> Status: 404 Not Found >>>> X-Powered-By: PHP/5.3.0RC2-dev >>>> Content-type: text/html >>>> >>>> --EXPECT-- >>>> >>> shouldn't that support %s modifiers? I'm quite sure the X-Powered-By >>> header will change quite often and it will be painful to change them all >>> the time :-) >>> >> Probably better is to remove the X-Powered-By in this test, since its >> point is only to verify that EXPECTHEADERS is working? >> > > Wasn't sure whether it means "expecting all of them" or just "at least > them (in a random order?)" it means "all of these headers must be present, but others may be as well" Greg

« previous php.cvs (#57139) next »