You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jonathan Fuerth <fu...@sqlpower.ca> on 2001/02/20 18:58:36 UTC

Formatting plain text

Hello!

I am trying to use an xsp with esql to extract data from a database
and format it as an ascii comma-separated values (csv) file.

I want the http Content-type of the output to be
application/octet-stream in order to induce web browsers to save the
file to disk, rather than displaying it on the screen.

No matter what I try, I always get text/html.