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

Reply via email to