[Patch] HTTP_Header::sendStatusCode (was HTTP_download -If-Modified-Since (->304) does not work)
| From: | Davey | Date: | Fri, 19 Dec 2003 21:57:59 +0000 |
| Subject: | [Patch] HTTP_Header::sendStatusCode (was HTTP_download -If-Modified-Since (->304) does not work) | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-24565@lists.php.net to get a copy of this message | ||
Hey,
Please find a patch here [1] to fix what I broke in HTTP_Header.
This should restore the original behaviour of HTTP_Header::sendStatusCode 100% except it no longer uses eval() :)
Sorry about this.
I also found some errors in my own code, forgot to change $this->statusType() to $this->getStatusType() when I renamed
the method :)
- Davey
[1] http://davey.is-a-geek.com/php-cvs/diffs/pear/HTTP_Header.txt