On Mon, Jan 2, 2012 at 4:56 AM, C Anthony Risinger <[email protected]> wrote: > On Sun, Jan 1, 2012 at 10:54 AM, Bruno Gruel <[email protected]> wrote: >> >> But under mongrel2 the json declaration is like that '@Xservice' = >> handler > > maybe this is what you mean, but per my understanding and: > > http://mongrel2.org/static/mongrel2-manual.html#x1-370003.6.2 > > ... it's not the route location that starts with an `@`, it's the > request itself ... yes? eg: > > @chat {"msg": "hello"}\0 > > ... is the ENTIRE request at the server level. these are raw/native > JSON handlers, and are by design, location-less/url-less ... they are > not HTTP IIRC ...
in other words, bruno, you should *totally* ignore that. it is completely irrelevant and will cause you massive problems trying to use it. you want the raw http data (all of it) and you want the raw http "send" message. these will be available to mongrel2 as one-line function calls or pre-existing variables. yes _raw_ data *NOT* pre-processed in ANY way. also you should NOT be using the pyjamas codebase to do testing. use the jsonrpclib.tgz codebase to write unit tests from python client command-line ONLY. l.

