You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-dev@quetz.apache.org by "Graham Dumpleton (JIRA)" <ji...@apache.org> on 2006/11/19 04:18:37 UTC

[jira] Resolved: (MODPYTHON-207) The attribute req.args should be modifiable.

     [ http://issues.apache.org/jira/browse/MODPYTHON-207?page=all ]

Graham Dumpleton resolved MODPYTHON-207.
----------------------------------------

    Resolution: Fixed

> The attribute req.args should be modifiable.
> --------------------------------------------
>
>                 Key: MODPYTHON-207
>                 URL: http://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 is done in modules like mod_rewrite and so something that emulates that may find it useful. It also may be necessary when wishing to interact with mod_proxy where one wants to add additional query args to the request as it is passed through to the downstream web server.
> 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 process form fields. This would avoid using the hack approach of creating a wrapper class around the request object which returns an empty string when req.args is accessed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira