Hello again.

I am having trouble using HTTPRequest.asyncPOST(). It seems that 
asyncPOST() drops POST data. It works when the POST data is an empty string 
('').  But the server is not called when the POST data is not an empty 
string.  Also, onCompletion() of the handler has never been called both 
cases (either success or failure).

I tested it on two different servers, Tornado and Web.py, and the results 
are the same. A weird thing is that JSONProxy (in pyjamas.JSONService) 
works fine with TornadoJsonRpc even though HTTPRequest.asyncPOST() is 
called inside. I guess that HTTPRequest module was tested mainly with 
JsonRpc, but not much with other protocols on Web.py and Tornado servers.

I found similar bug reports in Google-Web-Toolkit. I guess that this bug 
was inherited from Google-Web-Tookit.
https://groups.google.com/forum/#!topic/google-web-toolkit/5i0P2gXxLj0
http://www.mail-archive.com/google-web-toolkit@googlegroups.com/msg08322.html

Thanks again.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Pyjs.org Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pyjs-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to