RT-Users Digest, Vol 4, Issue 100

I need to send a different header when a script runs, I know how to
create and send the header but the RT header of text/html gets sent
first, and then mine just shows up as text on the page.

How can I circumvent the default RT http header, so the browser gets
mine first or solely ??

Chris Hood
Investigator Verizon Global Security Operations Center
Email: christopher.l.hood@verizon.com
Desk: 972.399.5900

Verizon Proprietary

NOTICE - This message and any attached files may contain information
that is confidential and/or subject of legal privilege intended only for
the use by the intended recipient. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, be advised that you have received this message in
error and that any dissemination, copying or use of this message or
attachment is strictly forbidden, as is the disclosure of the
information therein. If you have received this message in error please
notify the sender immediately and delete the message.

christopher.l.hood@verizon.com wrote:

I need to send a different header when a script runs, I know how to
create and send the header but the RT header of text/html gets sent
first, and then mine just shows up as text on the page.

How can I circumvent the default RT http header, so the browser gets
mine first or solely ??
Generic call:
$r->header_out(‘xxx’, ‘value’);
mod_perl has some special calls that can setup multiple headers or are
just aliases for common used headers.
For example:
$r->content_type(‘text/html; charset=utf-8’);
$r->no_cache(…);
$r->expires(…);

One-two weeks ago it was discussed deeply on mod_perl users list.
perldoc Apache
perldoc Apache::Request