Re: Re: HTTP_Request2

From: Date: Wed, 29 Oct 2008 18:28:34 +0000
Subject: Re: Re: HTTP_Request2
References: 1 2 3 4 5  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-50982@lists.php.net to get a copy of this message
Hi, Joe Stump wrote:
Curl and the HTTP extension give use extra features like having multiple inflight http requests
I'm going to chime in here with regards to supporting every adapter under the sun. I don't think we should support every imaginable adapter. I don't know anyone, these days, that has serious problems getting curl installed with PHP. Same goes for the http extension. My opinion is that we shouldn't create adapters that cannot do multiple inflight HTTP requests. One of the reasons I don't use HTTP_Request for more serious coding is that I'm unable to take advantage of parallel and asynchronous requests.
That's one of the feature requests for HTTP_Request2, yes. But, as David already mentioned, that *can* be done with sockets / streams.
I say we start with the easy ones and then add others as people submit them themselves. As a result, my vote is we do HTTP_Request2 with *only* curl and PECL http support.
The benefits of pure PHP implementation: * Easier to install if cURL is not available * Easier to understand / hack / customize * Already written :] So we'll start with sockets and cURL adapters.

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