On Mon, 2002-09-30 at 18:35, Michael Beaulieu wrote:
> How can I access the data that I submit with the POST?
>
> for example if I submit with code like below:
>
> body = """<some xml>...."""
> req = HTTP('localhost:80')
> req.putrequest('POST','/webkit/DAO')
> req.putheader('Content-type','text/plain; charset="iso-8859-1"')
> req.putheader('Content-Length',str(len(body)) )
> req.endheaders()
> req.send(body)
>
> ...and I'd like to read the body in my servlet/page.
self.request().rawInput(1)
Ian
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss