05-01-07 12:12 PM
[ https://issues.apache.org/jira/brow...ls:all-tabpanel ]
Graham Dumpleton closed MODPYTHON-207.
--------------------------------------
> The attribute req.args should be modifiable.
> --------------------------------------------
>
> Key: MODPYTHON-207
> URL: https://issues.apache.org/jira/browse/MODPYTHON-207
> Project: mod_python
> Issue Type: Improvement
> Components: core
> Affects Versions: 3.3
> Reporter: Graham Dumpleton
> Assigned To: Graham Dumpleton
> Fix For: 3.3
>
>
> For completeness, the req.args attribute should be modifiable. Updating req.args i
s done in modules like mod_rewrite and so something that emulates that may find it u
seful. It also may be necessary when wishing to interact with mod_proxy where one wa
nts
to add additional query args to the request as it is passed through to the downstream web se
rver.
> One use within mod_python itself may be to allow GET style query args when a POST
request has been submitted to be wiped out before util.FieldStorage is used to proce
ss form fields. This would avoid using the hack approach of creating a wrapper class
ar
ound the request object which returns an empty string when req.args is acces
sed.
[ Post a follow-up to this message ]
|