Hello, for me Rivet headers is not working too. I tried maybe two years ago it to generate wml sites and fortunately without success:(
Skirmantas -----Original Message----- From: www-data [mailto:[EMAIL PROTECTED] On Behalf Of Massimo Manghi Sent: Tuesday, February 20, 2007 2:20 AM To: David Welton Cc: [email protected] Subject: Re: manipulating http headers with rivet Quoting David Welton <[EMAIL PROTECTED]>: > This works for me with a relatively up to date Rivet: > > <? > headers type "text/plain" > puts "hello world" > ?> > > I'm not sure what problems it might have... you have to make sure the > headers haven't already been sent over the wire when you do 'headers > type', but I can't think of much else... > Thank you David as a last desperate attempt I gave up trying to have the expected headers in the output of 'GET' and used a browser. I put a Content-Disposition header in the Tcl code in order to tell the file real name... and it worked. GET keeps telling it's a text/html page, but Iceweasel pops up the download dialog and saves the pdf file it's supposed to get from the server. -- Massimo Manghi ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ---------------------------------------------------------------- Imp3 - Webmail del Dipartimento di Biologia Evolutiva e Funzionale --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
