You can use response.headers instead of response['headers']. Maybe try 
setting the value to a string:

response.headers['success'] = 'True'

Anthony

On Friday, November 25, 2011 11:32:58 AM UTC-5, thodoris wrote:
>
> What do i have to do in order for a remote app to know that a post of
> a form was successful?
>
> I tried to add a key to response.headers but when i read the response
> from my app i don't see my key there.
> Is it correct what i am doing?
>
> if form.accepts(request.vars,session):
>     response['headers']['success']=True
>
> Thodoris
>
>

Reply via email to