ops, sorry. i sent my last mail before noting that the answer i got was hidden in a reply to a reply i never got. UnknownFileTypeServlet.py is the solution.
Il sab, 2002-01-12 alle 00:08, Aaron Held ha scritto:
> I used
> def writeHTML(self):
> self.response().setHeader('Content-Disposition','attachment;filename=Report.xls')
> self.response().setHeader('content-type', 'application/vnd.ms-excel')
>
> before I generate and send an excel file
> Thanks,
> -Aaron
> ----- Original Message -----
> From: "Ian Bicking" <[EMAIL PROTECTED]>
> To: "Federico Di Gregorio" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Friday, January 11, 2002 1:41 PM
> Subject: Re: [Webware-devel] mime type of served documents
>
>
> > UnknownFileTypeServlet.py seems to already do this.
[snip]
--
Federico Di Gregorio
Debian GNU/Linux Developer & Italian Press Contact [EMAIL PROTECTED]
INIT.D Developer [EMAIL PROTECTED]
All programmers are optimists. -- Frederick P. Brooks, Jr.
msg00802/pgp00000.pgp
Description: PGP signature
