[web2py] Response.stream problem with zip files

2011-09-15 Thread Deidre
I am using response.stream to download zip files, chunk size 4096. The files appear to download fine but refuse to unzip. The response.header content type is set for zip files. Is there a bug? Peter

[web2py] response.stream problem

2010-01-12 Thread LB22
Hi, Last night I did an upgrade of web2py from 1.65.x to 1.74.5. Now, this piece of code: return response.stream(open(path,'rb'),chuck_size=4096) ...does not work. It was working fine before the upgrade. I've looked at the changes between versions but I don't see what could have caused this. Too