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

Implement official way of getting PSP output as a string.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • psp
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            grahamd Graham Phillip Dumpleton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: