Uploaded image for project: 'mod_python'
  1. mod_python
  2. MODPYTHON-207

The attribute req.args should be modifiable.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.x
    • Fix Version/s: 3.3.1
    • Component/s: core
    • Labels:
      None

      Description

      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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            grahamd Graham Dumpleton
            Reporter:
            grahamd Graham Dumpleton
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development