HTTP_Request deprecated methods.

From: Date: Mon, 21 Feb 2005 11:44:39 +0000
Subject: HTTP_Request deprecated methods.
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-17594@lists.php.net to get a copy of this message
Hi there I read in the changelog for v. 1.2.0 that the following methods was now deprecated. clearCookies(), clearPostData() and reset() My question is why ? .. $req->addPostData('var1', 'some data'); $req->addPostData('var2', 'other data'); $req->sendRequest(); $req->clearPostData(); $req->addPostData('var3', 'some data'); $req->sendRequest(); .. Seams usefull to me, if not reset $var1 and $var2 will be send with the second request.. You could hach in a: $req->_postData = array(); but that is not realy a "nice-n-clean" solution :-) Best regards - Ulrik

« previous php.pear.general (#17594) next »