On Wednesday, May 29, 2019 at 1:07:21 PM UTC-7, Dave S wrote: > > [...] >
> You may not want the 'Content-disposition' header -- it's setting > attachment and filename. > > [...] > But CSV is an ugly thing to show to a user; if the user needs query > results in a table, then either SQLTABLE or SQLFORM.grid could be used, and > I think the latter could also be used for a file you read. > > Ah, I see elsewhere that you are using the grid, and are trying to give the user a download. So, good! And you do want the 'Content-disposition' header. /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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/01c09fd7-5694-4afa-885f-4c3136eab0b2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

