[rt-devel] Custom http headers from WebRT template
Rich Lafferty
rich+rt at lafferty.ca
Fri Nov 22 10:48:29 EST 2002
On Fri, Nov 22, 2002 at 10:41:25AM -0500, Rich Lafferty <rich+rt at lafferty.ca> wrote:
> On Fri, Nov 22, 2002 at 10:12:43AM -0500, Rich Lafferty <rich+rt at lafferty.ca> wrote:
> > How can I set a custom HTTP header from a template in RT 2.0.15?
>
> To quelch the $r->header_out replies -- using FastCGI, not mod_perl. :-)
Ew.
SetContentType(qq(text/csv\r\nContent-Disposition: filename="rt-priority.csv"));
But it works! I haven't poked at 2.1/3.0 yet, but fastcgi custom
headers would be a worthwhile feature.
Cheers,
-Rich
--
Rich Lafferty --------------+-----------------------------------------------
Ottawa, Ontario, Canada | Save the Pacific Northwest Tree Octopus!
http://www.lafferty.ca/ | http://zapatopi.net/treeoctopus.html
rich at lafferty.ca -----------+-----------------------------------------------
More information about the Rt-devel
mailing list