Re: Re: [ANNOUNCEMENT] HTTP_Request2-0.1.0 (alpha) Released.
| From: | Alexey Borzov | Date: | Thu, 20 Nov 2008 16:08:02 +0000 |
| Subject: | Re: Re: [ANNOUNCEMENT] HTTP_Request2-0.1.0 (alpha) Released. | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-51118@lists.php.net to get a copy of this message | ||
Hi,
Michael Gauthier wrote:
The idea is you either take an instance of HTTP_Request2 and rely on the end user of your package to configure it, or take the array of options to pass to the setConfig() method (and/or constructor) of the HTTP_Request2 instance you create. Isn't it roughly the same way old HTTP_Request was used? BTW, I'll probably change the setConfig() / getConfigValue() methods in the next release to setConfig() / getConfig(), which will accept / return scalar values as well as arrays. The current implementation turned out to be counterintuitive, thanks to Daniel O'Connor for highlighting this. See http://pear.php.net/bugs/bug.php?id=15072Let me congratulate everyone concerned on the first release of shiny new PHP5 incarnation of HTTP_Request. :]<snip>Also can someone prepare a list of packages that have PHP5 and cURL as their required dependencies, time to spam their bug trackers with feature requests.Is there any sort of guide for package developers who want to use this new package. How should the HTTP_Request2 configuration be exposed in other packages?