sample code:
---------------------------

@https(action='action', p1=request.params.get('param1', ''),
p2=request.params.get('p2', ''))
def action(self)
{
    return request.params.get('p1', '') + request.params.get('p2', '')
}

-----------------------------
my environment:
------------------------------

lighttpd+scgi proxy+flup

-----------------------------
what i do:
-----------------------------

first i run-> wget http://localhost/controller/action?p1=test&p2=test
then later i run -> wget http://localhost/controller/action?p1=spam&p2=ham

-----------------------------
what i get:
----------------------------
'test' and 'test' BOTH times

-----------------------------
my theory:
-----------------------------
somehow, the redirect_to is remembering the params i initially submit,
and those keep creeping back into to my future calls.

if i take out the https decorator, everything works. if i restart
paster, the first call will work, and anything afterwards shows the
old query params.

if i use https to begin with, everything works. i would like to test
this on a much simpler environment (paster http only), but since i
need https, i need lighttpd/flup

i did put a breakpoint inside the https decorator, but each time i do
that, i see the right params.

i would like to know if anyone can reproduce this. i've seen it on two
computers,(with the same environment).

if no one can reproduce this, any ideas on how i can further debug the
problem?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to