Re: cvs: phpruntests /phpt-tests hw.phpsample_expectheaders.phpt sample_fileexternal.phpt
| From: | Johannes Schlüter | Date: | Wed, 22 Apr 2009 22:47:09 +0000 |
| Subject: | Re: cvs: phpruntests /phpt-tests hw.phpsample_expectheaders.phpt sample_fileexternal.phpt | ||
| References: | 1 2 3 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-57138@lists.php.net to get a copy of this message | ||
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?)"
johannes