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

Request #18225 Import cookies from response
Submitted: 2011-01-27 19:56 UTC
From: cweiske Assigned: avb
Status: Closed Package: HTTP_Request2 (version 0.5.2)
PHP Version: Irrelevant OS:
Roadmaps: 2.0.0beta1    
Subscription  


 [2011-01-27 19:56 UTC] cweiske (Christian Weiske)
Description: ------------ It would be ease programming if the request class had an "importCookies" method that'd take a http response and add all cookies from it to the request. Test script: --------------- $req = new HTTP_Request2('http://example.org/i-send-cookies'); $response = $req->send(); $req2 = new HTTP_Request2('http://example.org/i-eat-cookies'); $req2->importCookies($response); $req2->send();

Comments

 [2011-01-28 20:09 UTC] avb (Alexey Borzov)
-Status: Open +Status: Assigned -Assigned To: +Assigned To: avb -Roadmap Versions: +Roadmap Versions: 0.6.0
A "cookie jar" implementation is planned for release 0.6.0
 [2011-02-19 17:36 UTC] avb (Alexey Borzov)
-Status: Assigned +Status: Closed
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. -- Committed cookie jar implementation, please test!