On Wed, Jan 12, 2005 at 09:51:25AM -0500, John Saylor wrote: > hi > > ( 05.01.12 09:38 -0500 ) Sean Davis: > > I would like to output tab-delimited text (from a database lookup) to > > the user as an application/octet-stream with the name > > "tissue_dump.txt". I can't figure out the correct way to set the > > headers under mod_perl. Any help? > > you could buy the book.
or read another documentation. > $r->content_type () > > why are you sending text as application/octet-stream anyway? good question. If you want to force user to download this file try to set the header 'Content-disposition' to the value 'attachment; filename=tissue_dump.txt' -- best regards Ing. Roman Vasicek software developer +----------------------------------------------------------------------------+ PetaMem s.r.o., Ocelarska 1, 190 00 Praha 9 - Liben, Czech Republic http://www.petamem.com/