<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=HTTP_Request2</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/16828" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16762" />
      <rdf:li rdf:resource="http://pear.php.net/bug/5022" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/16828">
      <title>HTTP_Request2: Feature/Change Request 16828 [Open] Adding &quot;sentBody&quot; event</title>
      <link>http://pear.php.net/bugs/16828</link>
      <content:encoded><![CDATA[<pre>HTTP_Request2 Feature/Change Request
Reported by morozov
2009-11-24T11:05:05+00:00
PHP: 5.2.5 OS: All Package Version: 0.5.1

Description:
------------
Please add a new &quot;onSentBody&quot; event firing by HTTP_Request2 in order to be able to track this moment. Currently I see two workarounds for that:
1. Use &quot;receivedHeaders&quot; instead, but in case of non-successful request it woundât be fired;
2. Determine length of body being sent and use &quot;onSentBodyPart&quot; that would accumulate the size of sent data and compare it with expected value.</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTTP_Request2 Feature/Change Request
Reported by morozov
2009-11-24T11:05:05+00:00
PHP: 5.2.5 OS: All Package Version: 0.5.1

Description:
------------
Please add a new &quot;onSentBody&quot; event firing by HTTP_Request2 in order to be able to track this moment. Currently I see two workarounds for that:
1. Use &quot;receivedHeaders&quot; instead, but in case of non-successful request it woundât be fired;
2. Determine length of body being sent and use &quot;onSentBodyPart&quot; that would accumulate the size of sent data and compare it with expected value.</pre>]]></description>
      <dc:date>2009-11-26T08:05:11+00:00</dc:date>
      <dc:creator>morozov &amp;#x61;&amp;#116; tut &amp;#x64;&amp;#111;&amp;#x74; by</dc:creator>
      <dc:subject>HTTP_Request2 Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16762">
      <title>HTTP_Request2: Feature/Change Request 16762 [Open] HTTP_Request2_Exception should contain errorcodes</title>
      <link>http://pear.php.net/bugs/16762</link>
      <content:encoded><![CDATA[<pre>HTTP_Request2 Feature/Change Request
Reported by tarjei
2009-11-03T17:12:29+00:00
PHP: 5.2.5 OS: Centos 4 Package Version: 0.4.1

Description:
------------
When an HTTP_Request2_Exception is thrown, it should contain an errorcode together with a constant mapping to that errorcode so that it is possible to handle the problem without having a user looking at it. 



Test script:
---------------
try {
sendSomeRequest();
} catch (HTTP_Request2_Exception $e) {

 if ($e-&gt;getCode() == HTTP_Request2::TIMEOUT) {
    // resend request
}
}</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTTP_Request2 Feature/Change Request
Reported by tarjei
2009-11-03T17:12:29+00:00
PHP: 5.2.5 OS: Centos 4 Package Version: 0.4.1

Description:
------------
When an HTTP_Request2_Exception is thrown, it should contain an errorcode together with a constant mapping to that errorcode so that it is possible to handle the problem without having a user looking at it. 



Test script:
---------------
try {
sendSomeRequest();
} catch (HTTP_Request2_Exception $e) {

 if ($e-&gt;getCode() == HTTP_Request2::TIMEOUT) {
    // resend request
}
}</pre>]]></description>
      <dc:date>2009-11-04T15:24:39+00:00</dc:date>
      <dc:creator>tarjei &amp;#x61;&amp;#116; scanmine &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>HTTP_Request2 Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/5022">
      <title>HTTP_Request2: Feature/Change Request 5022 [Open] Non-Blocking Requests not support</title>
      <link>http://pear.php.net/bugs/5022</link>
      <content:encoded><![CDATA[<pre>HTTP_Request2 Feature/Change Request
Reported by misc@...
2005-08-07T14:07:44+00:00
PHP: 4.4.0 OS: Windows 2000 Package Version: 

Description:
------------
Because HTTP_Request::sendRequest() does not only send the request as the name would suggest, but also fetches the data immediately, it is not possible to use this class nor classes based on this (e.g. HTTP_Client) to perform non-blocking (parallel) requests which is very pity.

To perform non-blocking requests, one would have to do something like this:

&lt;?php
$urls = array(
'http://pear.php.net',
'http://php.net',
'http://google.de'
);

// only open socket and send request,
// no fetching of data or headers!
foreach($urls as $url) {
    $requests[$url] =&amp; new HTTP_Request($url);
    $requests[$url]-&gt;sendRequest(); 
}

// retrieval of data
foreach($urls as $url) {
    $data = $requests[$url]-&gt;fetchData();
}
?&gt;


If the data is fetched immediately after the request, the effect of socket_set_blocking($fp, 0) is zilch.</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTTP_Request2 Feature/Change Request
Reported by misc@...
2005-08-07T14:07:44+00:00
PHP: 4.4.0 OS: Windows 2000 Package Version: 

Description:
------------
Because HTTP_Request::sendRequest() does not only send the request as the name would suggest, but also fetches the data immediately, it is not possible to use this class nor classes based on this (e.g. HTTP_Client) to perform non-blocking (parallel) requests which is very pity.

To perform non-blocking requests, one would have to do something like this:

&lt;?php
$urls = array(
'http://pear.php.net',
'http://php.net',
'http://google.de'
);

// only open socket and send request,
// no fetching of data or headers!
foreach($urls as $url) {
    $requests[$url] =&amp; new HTTP_Request($url);
    $requests[$url]-&gt;sendRequest(); 
}

// retrieval of data
foreach($urls as $url) {
    $data = $requests[$url]-&gt;fetchData();
}
?&gt;


If the data is fetched immediately after the request, the effect of socket_set_blocking($fp, 0) is zilch.</pre>]]></description>
      <dc:date>2008-10-17T16:11:23+00:00</dc:date>
      <dc:creator>misc &amp;#x61;&amp;#116; keilonat &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>HTTP_Request2 Feature/Change Request</dc:subject>
    </item>
</rdf:RDF>
