
June 30, 2009
8:36 a.m.
works :) On Tue, Jun 30, 2009 at 4:18 PM, Phil Mayers<p.mayers@imperial.ac.uk> wrote:
On Tue, Jun 30, 2009 at 09:07:57AM +0100, Vincent Gulinao wrote:
How do you read JSON content from a POST using http.Request. I peeked on args and it's empty.
"args" is www-urlencoded only. If the content-type is something else it's not filled in.
You want:
request.content.read()
IIRC
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python