19 Mar
2008
19 Mar
'08
9:55 p.m.
I wrote:
I just noticed that when I submit a form to a zope script(python) that includes a file upload, the content-type and content-length headers of the response are incorrectly set to those of the uploaded file, rather than those of what the script actually returns. Any ideas why this could be happening? I'm running zope 2.9.6 on Debian etch.
Okay, I managed to reproduce it; apparently it depended on saving the uploaded file with ExtFile. I also noticed that my version of ExtFile was out of date, and upgrading to ExtFile v1.5 appears to have fixed the problem. Still not sure what was causing it though. Sorry to bother y'all. Mike