Issue Type: Bug Created: 2008-01-23T06:38:25.000+0000 Last Updated: 2011-08-03T15:46:30.000+0000 Status: Resolved Fix version(s): Reporter: Tom Sommer (tomsommer) Assignee: Satoru Yoshida (satoruyoshida) Tags: - Zend_Rest_Client
Related issues: - ZF-2215
Sending more requests after each other produces wrong requests on the remote server.
$client = new Zend_Rest_Client('http://127.0.0.1/rest.php'); $res = $client->add(0,0,0,0,0,0)->get(); var_dump($res);
$client = new Zend_Rest_Client('http://127.0.0.1/rest.php'); $res = $client->find(16)->get(); var_dump($res);
GET /rest.php?method=add&arg0=0&arg1=0&arg2=0&arg3=0&arg4=0&arg5=0&rest=1 HTTP/1.1" 200 175 "-" "Zend_Http_Client" GET /rest.php?find=16&arg1=16&rest=1 HTTP/1.1" 404 202 "-" "Zend_Http_Client"
As you can see, the 2nd request is incorrect, and contains no "method" argument, resulting in an error from the server.
Posted by Tom Sommer (tomsommer) on 2008-01-23T06:39:24.000+0000
Related to ZF-1853
Posted by Wil Sinclair (wil) on 2008-02-20T15:53:50.000+0000
Unsetting priority and assigning to Davey for review. Davey, please assign priority for 1.5 release.
Posted by Herbert G. Fischer (hgfischer) on 2008-06-04T11:47:05.000+0000
Looks like issues ZF-2467, ZF-2215, ZF-2044 are all related to this problem.
Posted by old of Satoru Yoshida (email@example.com) on 2008-10-20T06:09:36.000+0000
I will be happy if you see and comment on ZF-2215.
Have you found an issue?
See the Overview section for more details.