Doc #58935 [Opn->Csd]: setRawPostData is deprecated

From: Date: Sat, 07 Jan 2012 19:55:49 +0000
Subject: Doc #58935 [Opn->Csd]: setRawPostData is deprecated
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-7745@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=58935&edit=1 ID: 58935 Updated by: frozenfire@php.net Reported by: matteo dot giaccone at acmos dot net Summary: setRawPostData is deprecated -Status: Open +Status: Closed Type: Documentation Problem Package: pecl_http PHP Version: 5.3.0 -Assigned To: +Assigned To: frozenfire Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2012-01-07 19:55:29] frozenfire@php.net Automatic comment from SVN on behalf of frozenfire Revision: http://svn.php.net/viewvc/?view=revision&revision=321879 Log: Documented deprecation of setRawPostData method, which is now aliased to setBody. Closes bug #58935. Added setBody method documentation. ------------------------------------------------------------------------ [2009-11-05 07:25:26] matteo dot giaccone at acmos dot net Description: ------------ when using $request->setRawPostData($content) i get an error message telling me that the function is deprecated. In the documentation there is no clue for a substitute... Browsing the code i've found that the substitute is setBody that for me is working. Please put that correction in the documentation, it's impossible to find that solution online. Thanks. Bye Matteo ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=58935&edit=1

« previous php.doc.bugs (#7745) next »