[Zope] How to get raw upload data from POST?
Thu, 24 May 2001 12:34:32 -0400
Dig around in OFS/Image.py, you can see how they do it there.
> From: "Brad Clements" <firstname.lastname@example.org>
> Organization: MurkWorks, Incorporated.
> Reply-To: email@example.com
> Date: Thu, 24 May 2001 11:41:45 -0400
> To: firstname.lastname@example.org
> Subject: [Zope] How to get raw upload data from POST?
> I'm working to upload ADO recordsets in XML format.
> I use the XMLHTTP object to POST raw <?xml> text as the "body" of the post.
> Content-Type isn't set in the POST request.
> I'm trying to figure out how to read() the body of the post. Seems the
> FieldStorage is
> doing something I can't figure out.
> REQUEST.read() doesn't work
> REQUEST.stdin.read() doesn't work (from an external method)
> REQUEST._file is None
> I don't want to fake up a form post.. How do I get at the body of the post
> Brad Clements, email@example.com (315)268-1000
> http://www.murkworks.com (315)268-9812 Fax
> netmeeting: ils://ils.murkworks.com AOL-IM: BKClements
> Zope maillist - Zope@zope.org
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-dev )