[web2py] web2py lost headers after deployment to server

2013-05-01 Thread San L
Based on this documentation The request.env.http_* variables are parsed from the request HTTP header. in http://web2py.com/books/default/chapter/29/04#request I use request.env.http_mykey to get a variable in header. It works in my local. But request.env.http_mykey returns None in server. We

[web2py] How to render a csv file without using template

2013-11-01 Thread San L
We would like to allow use user to download a csv file when clicking a button on a page (not redirect or pop up a new window). Is this doable in web2py? Thanks -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https: