I've a quick question about json-rpc over http. I plan to use json-rpc for a project. I plan to use MochiKit as a JS library and wrote a json-rpc request...
... serialized request objects.' How should the Header look? I did make any requirements on the headers. They should contain the content length and a mime...
... Ahh. In that case the HTTPConnectionHandler implementation in jsonrpc (out of pyjsonrpc.zip) is probably faulty. urllib (or urllib2 for that matter) sets...
... jsonrpc (out of > pyjsonrpc.zip) is probably faulty. Probably faulty in other things as well. ;) It was a quick prototype I wrote up without much testing...
Hi, I would like to announce project JayRock, which is a modest implementation of JSON-RPC for Microsoft ASP.NET. JayRock is an open- source project published...
... , ... In my implementation, I originally started with the text/javascript, assuming that JSON being a subset of JavaScript, it would qualify as a complete...
Hi, it seems to me the current spec of JSON-RPC doesn't allow calls from a JavaScript running in a browser without using XmlHTTPRequest. Am I mistaken? It...
... You can run it over any transport according to the spec. Jan-Klaas has an impl that uses sockets. ... Just so it is clear, XMLHttpRequestObject does do...
... I think the spec implies that the content of the POST requests consists of *only* the object in JSON. I don't know if it's possible to achieve that with a...
There is nothing in the JSON-RPC specification that mandates the use of XMLHttpRequest. The specification simply says how the request and response messages...
... I'm not saying that you can access the data before it's done (although theoretically you can by polling responseText). My point is, if you send another...
... If the content type is not application/xml and the content doesn't contain <?xml version="1.0"?> it shouldn't try to parse the data as XML I believe...
... It should be pretty straightforward to say how a JSON-RPC call can be encapsulated within an entity of content-type application/x-www-form- urlencoded. All...
Hi, Over the weekend, I've written a Cherrypy(2.1) filter for json-rpc. (I'll post the code later this week). The json-rpc specs are very silent about the ...
... Yes, although an HTTP server implementation can't really depend on it being set if the implementation wishes to support Opera - so it would then really...
On Monday 26 September 2005 17:14, Michael Clark wrote: [...] ... Too much of my precious life time is already spend on browser inconsistencies. I'll probably...
... It is very easy to make a server impl that supports Opera. I see no reason to exclude it. Be liberal in what you accept, conservative in what you send. ......
... It does not. I know, mostly from (vain) attempts att tricking the Mozilla throbber to do something to show progress the way users expect it to look like...
Just a note about Opera incompatibilities: Opera 8.5 allows setting content-type in XMLHttpRequest. So, sniffing for '{' is not necessary anymore server-side....
... I've been following this thread silently for a while, waiting for someone to suggest the Content-Type text/javascript, but to no avail, so I suppose I'll...
I am not sure that the content type on the client side has much relevance. The data comes in through the http request and the headers are never inspected by...
... Hm. I was under the impression we were discussing the Content- Type header sent by the server to the client. In the other direction I suppose it might not...
... +1 but in light of yesterdays mail from Jim (see below) I'd prefer 'application/x-javascript' as the mimetype. Stephan ... Just a note about Opera...
... I think the case against text/javascript is simpler than that. I've discussed it before in this group, but perhaps it helps to expand with some concrete...
... Also +1 on application/json-rpc from the client. I've done some googling. Apparently, "application/javascript" and "application/ecmascript" may soon be...
... Ack! Opera8.5 fails on application/javascript, so application/x-javascript is the pragmatic content-type from the server for the moment. -Jim Washington...