Re: Package proposal: HTTP_Status

From: Date: Tue, 26 Aug 2003 17:55:45 +0000
Subject: Re: Package proposal: HTTP_Status
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-20565@lists.php.net to get a copy of this message
On 26 Aug 2003 at 21:05, Alexey Borzov wrote: > Marshall Roch wrote: > >> -1 for the standalone package. I don't quite see the problem it is > >> trying to solve. > > > > > > It's trying to make it easier to translate status codes, and to > > check whether they're success, or errors, or whatever. It's also > > trying to put all of this information in one reusable place, so that > > updates to the protocols only require one code change. > > OK, there are already HTTP and HTTP_Header packages: > http://pear.php.net/package/HTTP > http://pear.php.net/package/HTTP_Header > > What's the use of another package, that is a wrapper around an array > and a bunch of number comparisons? Yes, as proposed it might very will fit into HTTP_Header (since the Status is normally transmitted in the header). Stefan

« previous php.pear.dev (#20565) next »