Issue Type: Bug Created: 2007-10-04T17:42:47.000+0000 Last Updated: 2011-12-08T08:06:55.000+0000 Status: Resolved Fix version(s): - 1.7.0 (17/Nov/08)
Reporter: Julien SERDARU (jserdaru) Assignee: Satoru Yoshida (satoruyoshida) Tags: - Zend_Rest_Client
Related issues: - ZF-2215
Attachments: - client.php
Zend_Rest_Client seems to be broken, or I might have misunderstood the way it works.
Create rest server using Zend_Rest_Server based on a class, exposing 1 method:
parrot($text), returning the input text
Then test calling method directly through url:
and using Zend_Rest_Client:
$rest = new Zend_Rest_Client($server); echo $rest->parrot('This is my string')->get();
2nd one fails.
I have attached client and server files to demonstrate the issue.
Posted by Julien SERDARU (jserdaru) on 2007-10-05T04:07:22.000+0000
client file for test
Posted by Julien SERDARU (jserdaru) on 2007-10-05T04:07:41.000+0000
server file for test
Posted by Thomas Weidner (thomas) on 2007-10-15T13:51:40.000+0000
Assigned to Davey
Posted by Jean-Marc Fontaine (jmf) on 2008-04-03T14:06:28.000+0000
The bug still exists 6 months later in the version 1.5.
The lines 239 to 242 from the class Zend_Rest_Client seem to be the cause of the bug
In fact I do not see what these lines are supposed to do. Removing them fixes the bug.
Posted by Herbert G. Fischer (hgfischer) on 2008-06-04T11:46:42.000+0000
Looks like issues ZF-2467, ZF-2215, ZF-2044 are all related to this problem.
Posted by old of Satoru Yoshida (firstname.lastname@example.org) on 2008-10-09T06:20:32.000+0000
Does it depend on ZF-4089, doesn't it?
Posted by old of Satoru Yoshida (email@example.com) on 2008-10-20T06:12:16.000+0000
I will be happy if you see and comment on ZF-2215.
Posted by Wil Sinclair (wil) on 2008-11-13T14:10:09.000+0000
Changing issues in preparation for the 1.7.0 release.
Have you found an issue?
See the Overview section for more details.