Re: [web2py] Re: Nginx + uwsgi file download problem

2012-01-31 Thread pbreit
If its a big file, need to adjust: client_max_body_size 100M;

Re: [web2py] Re: Nginx + uwsgi file download problem

2012-01-31 Thread Thomas Bellembois
Le 31/01/2012 09:18, nick name a écrit : No, the thread started with Ie8 being suspects, but at least from my experiments it is a problem in Rocket which can be triggered with any browser or even without a browser (e.g. wget/curl instead of a browser) See e.g. https://github.com/explorigin/Ro

Re: [web2py] Re: Nginx + uwsgi file download problem

2012-01-31 Thread nick name
No, the thread started with Ie8 being suspects, but at least from my experiments it is a problem in Rocket which can be triggered with any browser or even without a browser (e.g. wget/curl instead of a browser) See e.g. https://github.com/explorigin/Rocket/issues/1#issuecomment-3734231 The reas

Re: [web2py] Re: Nginx + uwsgi file download problem

2012-01-31 Thread Thomas Bellembois
Le 31/01/2012 07:38, nick name a écrit : Almost surely the same problem discussed in this thread: https://groups.google.com/d/msg/web2py/1_b63bhBeQs/sYFbXNJL8D4J It looks like the problem is with IE8 in this thread ? Tried to set the content-lenght header but I miss something: response.hea

Re: [web2py] Re: Nginx + uwsgi file download problem

2012-01-29 Thread Roberto De Ioris
> Hard to say. > > I don't know if this helps but here's how appadmin does it for a csv file: > > def csv(): > import gluon.contenttype > response.headers['Content-Type'] = \ > gluon.contenttype.contenttype('.csv') > db = get_database(request) > query = get_query(request) >