On Wednesday, November 1, 2017 at 7:15:11 PM UTC-7, Anthony wrote:
>
> It's response.headers.
>

Indeed, but that isn't a sufficient correction.

/dps
 

>
> Anthony
>
> On Wednesday, November 1, 2017 at 1:18:07 AM UTC-4, Dave S wrote:
>>
>> I wanted to set the refresh on a page according to how often an event is 
>> occurring, and so I tried adding this to my controller function:
>>
>>     response.header["meta"]='http-equiv="refresh" content="30"'
>>
>> However, it doesn't seem to show up.  I'm also not seeing the 
>> 'X-Powered-By' header that is set coming into my function, according to a 
>>     print response.headers
>>
>> If I put that print statement in my view, the result is None.
>>
>> I'm using Firefox's "inspect element" and also "view source".  Lots of 
>> other headers, but not these two.   What should I be doing to get my 
>> refresh header in?
>>
>> I've tried this with both 2.14.6 and 2.15.4.
>>
>> Thanks
>>
>> /dps
>>
>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to