Re: [Zope] Generating text/csv from DTML method, Mime Type?

2000-11-10 Thread Oliver Bleutgen
I'm create a CSV file that I would like browsers to get the "save as" dialog when they select it. I'm using RESPONSE.write() to write out the CSV file, and I set the Content-Type before calling RESPONSE.write Netscape seems to work ok, it pops up a save box for "text/csv" and

RE: [Zope] Generating text/csv from DTML method, Mime Type?

2000-11-10 Thread Farrell, Troy
, 2000 11:15 AM To: [EMAIL PROTECTED] Subject: Re: [Zope] Generating text/csv from DTML method, Mime Type? "Brad Clements" [EMAIL PROTECTED] writes: I'm create a CSV file that I would like browsers to get the "save as" dialog when they select it. I'm using RESPONSE.write()

RE: [Zope] Generating text/csv from DTML method, Mime Type?

2000-11-10 Thread Oliver Bleutgen
I know this sounds silly, but try making the url end with .csv I wrote a perl cgi script some time ago that spit out a csv file. When it ended with .csv, IE seemed to ignore the server's Content-type: text/html header. http://finance.yahoo.com/q?s=WCGd=v1 Look, my stock is falling!

RE: [Zope] Generating text/csv from DTML method, Mime Type?

2000-11-10 Thread Stefan H. Holek
On Fri, 10 Nov 2000, Farrell, Troy wrote: I know this sounds silly, but try making the url end with .csv I wrote a perl cgi script some time ago that spit out a csv file. When it ended with .csv, IE seemed to ignore the server's Content-type: text/html header. Not silly! I have also seen

RE: [Zope] Generating text/csv from DTML method, Mime Type?

2000-11-10 Thread Farrell, Troy
ED]] Sent: Friday, November 10, 2000 12:37 PM To: [EMAIL PROTECTED] Subject: RE: [Zope] Generating text/csv from DTML method, Mime Type? I know this sounds silly, but try making the url end with .csv I wrote a perl cgi script some time ago that spit out a csv file. When it ended with .csv, IE

RE: [Zope] Generating text/csv from DTML method, Mime Type?

2000-11-10 Thread Eric Walstad
al Message- // From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of // Oliver Bleutgen // Sent: Friday, November 10, 2000 8:12 AM // To: [EMAIL PROTECTED] // Subject: Re: [Zope] Generating text/csv from DTML method, Mime Type? // // // I'm create a CSV file that I would like browsers to get