Re: Re: Adding pecl/http to core
| From: | Michael Wallner | Date: | Fri, 26 Sep 2008 10:04:15 +0000 |
| Subject: | Re: Re: Adding pecl/http to core | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-40702@lists.php.net to get a copy of this message | ||
Jani Taskinen wrote:
> So pecl/http is actually ext/curl with OO API?
Not really. libcurl is not HTTP only, pecl/http utilizes libcurl for
it's HTTP request functionality. pecl/http also provides much improved
HTTP response and zlib functionality besides an "swizz-army-knife" for URLs.
> Why not merge the two then..? Or rather, replace ext/curl with pecl/http
> once latter has BC API for us non-oo folks out there..
You don't have to write OO code to use pecl/http, neither do you
have the possibility to query any protocol other than HTTP with
pecl/http.
Regards,
Mike