AW: [PEAR-DEV] Package proposal: HTTP_Status
| From: | Stephan Schmidt | Date: | Tue, 26 Aug 2003 08:14:33 +0000 |
| Subject: | AW: [PEAR-DEV] Package proposal: HTTP_Status | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-20517@lists.php.net to get a copy of this message | ||
Hi,
> I've no idea what you would use it for :)
I could use this in my HTTP_Server package.
> I'd suggest someone does a status_codes.ini file and both (all?)
> packages share it..
As my HTTP_Server class is only parsed once and runs in an infinite loop (as
it's a server...), performance is no issue for me. But if you need
performance, the best solution would be to supply a serialized string, I
think this parser would be even faster (but I haven't benchmarked it,
either).
Anyway, I'm +1 on this package, as it centralizes some method, which is
something I like and I could use it in HTTP_Server. The code seems to be
clean and well documented...
Best regards,
Stephan