http://codereview.appspot.com/181142/diff/1/5 File trytond/protocols/jsonrpc.py (right): http://codereview.appspot.com/181142/diff/1/5#newcode136 trytond/protocols/jsonrpc.py:136: def do_POST(self): Isn't this a plain copy of from ...
15 years, 3 months ago
(2010-01-06 14:02:56 UTC)
#5
http://codereview.appspot.com/181142/diff/1/5 File trytond/protocols/jsonrpc.py (right): http://codereview.appspot.com/181142/diff/1/5#newcode9 trytond/protocols/jsonrpc.py:9: import json On 2010/01/06 13:43:26, ced wrote: > On ...
15 years, 3 months ago
(2010-01-06 14:05:41 UTC)
#6
http://codereview.appspot.com/181142/diff/1/5
File trytond/protocols/jsonrpc.py (right):
http://codereview.appspot.com/181142/diff/1/5#newcode9
trytond/protocols/jsonrpc.py:9: import json
On 2010/01/06 13:43:26, ced wrote:
> On 2010/01/06 13:20:32, yangoon wrote:
> > entry in setup.py and INSTALL missing
>
> json is part of the python standard module
json is new in Python 2.6. See <http://docs.python.org/library/json.html>
Pushing requirements to Py 2.6 will bring us in trouble, since many required
binary modules are not availiable for Py 2.6 on windows :-( (at least last tie I
checked)
15 years, 3 months ago
(2010-01-06 14:15:02 UTC)
#7
http://codereview.appspot.com/181142/diff/1/5
File trytond/protocols/jsonrpc.py (right):
http://codereview.appspot.com/181142/diff/1/5#newcode136
trytond/protocols/jsonrpc.py:136: def do_POST(self):
On 2010/01/06 14:02:56, h.goebel wrote:
> Isn't this a plain copy of from tryton's xmlrp.py? Then please refactor. (It's
> worse enough that gzip encoding can not be added easily to
SimpleXMLRPCServer.)
Different header
Issue 181142: Add JSON-RPC
(Closed)
Created 15 years, 3 months ago by ced
Modified 15 years, 2 months ago
Reviewers: yangoon1, h.goebel
Base URL:
Comments: 5