Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.6.0

Request #16828 Adding "sentBody" event
Submitted: 2009-11-24 16:05 UTC
From: morozov Assigned: avb
Status: Closed Package: HTTP_Request2 (version 0.5.1)
PHP Version: 5.2.5 OS: All
Roadmaps: 2.0.0beta1    
Subscription  


 [2009-11-24 16:05 UTC] morozov (Sergei Morozov)
Description: ------------ Please add a new "onSentBody" event firing by HTTP_Request2 in order to be able to track this moment. Currently I see two workarounds for that: 1. Use "receivedHeaders" instead, but in case of non-successful request it wound’t be fired; 2. Determine length of body being sent and use "onSentBodyPart" that would accumulate the size of sent data and compare it with expected value.

Comments

 [2009-11-26 13:05 UTC] morozov (Sergei Morozov)
-Summary: Adding "onSentBody" event +Summary: Adding "sentBody" event
 [2011-02-25 23:44 UTC] avb (Alexey Borzov)
-Status: Open +Status: Closed -Assigned To: +Assigned To: avb
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.