'Live HTTP Headers' is a Firefox-Plugin for viewing Header-Information
of HTTP-Requests.
Your playground-code works fine and is encoded correctly.
I tracked my problem down to qx.util.Json.stringify
Using the following code:
alert("{" + qx.util.Json.stringify(Array("test1","test2")) + "}");
I get the result:
{"[\"test1\",\"test2\"]"}
On the playground this also works fine.
I'll setup a fresh qooxdoo-installation on another system to see if the
problem persists.
Derrell Lipman wrote:
> On Wed, Mar 31, 2010 at 10:47, Thorsten Klingen
> <[email protected] <mailto:[email protected]>> wrote:
>
> Hi,
>
> i am using qooxdoo 1.0.1 whith the following small snippet from the
> manual to test the RpcPhp-Server:
>
> var rpc = new qx.io.remote.Rpc("http://rpc-url", "qooxdoo.test");
> var result = rpc.callSync("echo", "Test");
> alert("Result of sync call: " + result);
>
> Watching the request with the 'Live HTTP Headers'-Plugin i see that the
> data is encoded
>
> {"service":"qooxdoo.test","method":"echo","id":1,"params":"[\"Test\"]"}
>
> while it should be
>
> {"service":"qooxdoo.test","method":"echo","id":1,"params":["Test"]}
>
>
> Something strange is going on. What is "Live HTTP Headers"? What browser
> are you using?
>
> Please try the following playground app, and confirm that the correct
> data is sent. It works fine for me. (Notice that I removed "http://"
> from the url parameter so that the url would be relative. Also note that
> rpc-url does not exist on the server where playground is located, so all
> this is trying to confirm is that the correct data is sent.)
>
> *http://tinyurl.com/yfax3ph*
>
> Derrell
>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel