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.






-------------------------------------------------------
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

Reply via email to