Here's a pointer:

http://stackoverflow.com/questions/1783383/how-do-i-copy-wsgi-input-if-i-want-to-process-post-data-more-than-once

Kind regards,
    Jasper

On Mar 15, 12:19 pm, NiL <[email protected]> wrote:
> Hi list,
>
> It's most certainly a noob question, but here
>
> in my repoze.who plugin I wish to intercept certain values sent in the
> POST request
>
> I tried this
>
>             form_data = environ.get('wsgi.input').read()
>             form_info = dict(urlparse.parse_qsl(form_data))
>             key_value = form_info.get('key')
>
> but it breaks my tg app because the wsgi.input has been read.
>
> any pointer will be greatly appreciated
>
> NiL

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to