RE: [PEAR-DEV] HTTP_Request patch for Multiple requests support

From: Date: Sun, 29 Sep 2002 14:53:38 +0000
Subject: RE: [PEAR-DEV] HTTP_Request patch for Multiple requests support
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-9687@lists.php.net to get a copy of this message
> the main idea with extending instead of wrapping was exactly > to preseve the > existing way the request can be manipulated before being sent. > the creation of the request and its sending are still to > separate methods > that need to be invoked separately. > Between the call to the constructor (or to setRequest() which > are indeed the > same method) and the call to sendRequest(), you still can > call addHeader, > setProxy, setBasicAuth ... and so before each new call ! > isn't that what you meant ? > > but that's right some new functions could be added to handle > things specific > to the cookies ! > I first thought about matching the cookie domain with the url domain. > But as it doesn't break BC, my idea was first to submit > something that's > working enough to be tested and then improved ... Ok, I'll have a play with your patch. -- Richard Heyes V-webmail - http://www.v-webmail.co.uk

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