[Zope] Subpath versus POST body
Tino Wildenhain
tino at wildenhain.de
Fri Sep 17 04:59:20 EDT 2004
Hi,
Am Fr, den 17.09.2004 schrieb Dan Ellis um 10:34:
> Hello,
>
> I'm having trouble getting two features to work together. I spent the
> best part of a day trying to find uploaded POST data. I've seen lots of
> references to a BODY attribute, but my request objects don't seem to
> have one. Using REQUEST.stdin does seem to work, but only on
> ExternalMethods, not PythonScripts. What is the correct way to access
> POST data, and can it be done in PythonScripts?
POST data? When you are sending forms you get all form elements
nicely parsed into variables, accessible thru request.
This includes fileopload, where the variable you get behaves
like a python file object open for read.
No need to work on raw stream data here.
Regards
Tino Wildenhain
More information about the Zope
mailing list