works :) On Tue, Jun 30, 2009 at 4:18 PM, Phil Mayers<[email protected]> 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 > [email protected] > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python >
_______________________________________________ Twisted-Python mailing list [email protected] http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
