php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #58935 setRawPostData is deprecated
Submitted: 2009-11-05 07:25 UTC Modified: 2012-01-07 19:55 UTC
From: matteo dot giaccone at acmos dot net Assigned: frozenfire (profile)
Status: Closed Package: pecl_http (PECL)
PHP Version: 5.3.0 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: matteo dot giaccone at acmos dot net
New email:
PHP Version: OS:

 

 [2009-11-05 07:25 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-01-07 19:55 UTC] 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.
 [2012-01-07 19:55 UTC] frozenfire@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: frozenfire
 [2012-01-07 19:55 UTC] frozenfire@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 17 23:01:28 2024 UTC