[Zope] - RESPONSE.headers Help needed

BScherer@mobile.bam.com BScherer@mobile.bam.com
28 Dec 98 10:39:21 EST


I'm using the following: 

RESPONSE.headers['Content-Type'] =  "text/csv"
RESPONSE.headers['Content-Disposition'] = "inline; \
filename=salesdat.csv"
RESPONSE.flush()

in an attempt to get the browser to prompt the user to save the file to disk instead of displaying it in the browser.

Problem is, the browser always displays the file.  I've checked that the expected headers are coming through with a sniffer, and they are.  I expect I'm not producing the headers right, or what I want to do isn't possible.

Any ideas?

TIA

Bill Scherer
Bell Atlantic Mobile

PS. this is not Zope'd yet, it's vanilla Bobo.