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 2007/06/29 08:31:04 UTC

[jira] Created: (MODPYTHON-236) Implement official way of getting PSP output as a string.

Implement official way of getting PSP output as a string.
---------------------------------------------------------

                 Key: MODPYTHON-236
                 URL: https://issues.apache.org/jira/browse/MODPYTHON-236
             Project: mod_python
          Issue Type: New Feature
          Components: psp
            Reporter: Graham Dumpleton
            Priority: Minor


Given that requests occasionally come in that request or would require the ability to get a string representation of a PSP page, rather than output being sent as response, should add new feature for doing this.

This would eliminate the need to use fake request wrappers to capture PSP page output. Such a hack has been described in:

  http://www.modpython.org/pipermail/mod_python/2005-May/018230.html

but would be better if the code generated by the psp_parser.c file would instead of generating req.write() operate via a proxy variable, eg. __output__.write(), where '__output__' would be 'req' for the normal case but could be replaced by the user through an argument to PSP object.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.