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')

here you're serving a particular file. i have a class that does that for
all the tarballs served by the site. but i don't like to do that for
every file type. mmm... a ServletFactory can declare extensions it wants
to manage but there is a way to tell webkit "i am a servlet factory that
wants to manage all files not managed by other factories"?

pondering...
federico

-- 
Federico Di Gregorio
Debian GNU/Linux Developer & Italian Press Contact        [EMAIL PROTECTED]
INIT.D Developer                                           [EMAIL PROTECTED]
                     I came like Water, and like Wind I go. -- O. Khayam

Attachment: msg00801/pgp00000.pgp
Description: PGP signature

Reply via email to