[Zope] request object not including querystring args
Dieter Maurer
dieter at handshake.de
Mon Jan 26 13:39:25 EST 2004
Justin Robertson wrote at 2004-1-26 14:05 +0000:
>Can anyone tell me why the first script is returning None for
>request.get('argClsRecId')?
>
>Script:
>request = container.REQUEST
>response = request.RESPONSE
>print request.QUERY_STRING
>print request.get('argClsRecId')
>return printed
>
>Request URL:
>http://localhost:8080/scripts/actAddSubjectReport?argClsRecId=159&argStuRecId=2288
>
>Output:
>argClsRecId=159&argStuRecId=2288
>None
That's really interesting...
"request.get" actually looks in "request.others" (a dict).
Maybe, you print it as well.
--
Dieter
More information about the Zope
mailing list