From: Brian Candler Date: 2003-02-07T17:50:31+09:00 Subject: Re: cgi and pdf/xml On Fri, Feb 07, 2003 at 05:12:22PM +0900, leechie@gmx.de wrote: > How to return xml or pdf files via cgi interface? > > I dynamically create these and want to return them just like I do it with > html. > How? Just generate the right MIME headers. For XML see RFC 3023, most likely you will want to generate Content-Type: text/xml or Content-Type: application/xml PDF is, I believe, "application/pdf" Regards, Brian.