The classic download function: def download(): return response.download(request, db)
I'm developing on localhost (127.0.0.1, no SSL) and one strange thing happened: Downloads in IE8 (Windows XP) were all corrupt/broken if they weren't below 64KiB in size. Very easy to see with large images. Using a higher value for the argument 'chunk_size' solves this problem, up to this new maximum. web2py 1.91.6