Re: HTTP_download -If-Modified-Since (->304) does not work

From: Date: Fri, 19 Dec 2003 18:05:03 +0000
Subject: Re: HTTP_download -If-Modified-Since (->304) does not work
References: 1 2  Groups: php.pear.dev php.pear.qa 
Request: Send a blank email to pear-dev+get-24547@lists.php.net to get a copy of this message
I wrote: > Hi Andreas Korthaus, you wrote: > > > >>The "sendStatusCode()" looks like that: >> >> function sendStatusCode( $code) >> { >> if (defined('HTTP_HEADER_STATUS_' .$code)) { >> $status_msg = constant('HTTP_HEADER_STATUS_' .$code); >> header( 'HTTP/'.$this->_httpVersion. ' ' .$code. ' >> ' .$status_msg); >> } else { >> return false; >> } >> } >> > > > Seems that the signature of this method has changed, prior versions > allowed to pass the HTTP_HEADER_STATUS_* constants. > Well, seems moreover that this method is borked anyways, it either returns false or void/null. Wolfram? Regards, -- Michael - < mike(@)php.net >

Attachment: [application/pgp-signature]
« previous php.pear.dev (#24547) next »