ap_custom_response content type 'text/xml'

Top Page

Reply to this message
Author: Kiffin Gish
Date:  
To: dev
Subject: ap_custom_response content type 'text/xml'
Hi there.

In order to reply with my own xml error, I want to use
ap_custom_response(r, HTTP_INTERNAL_SERVER_ERROR, xml);

However, default content type is "text/html". If I try to change it by
using ap_set_content_type(r, "text/xml"), this has no effect.

Is there anyone out there who can help me?

-- 
Kiffin Gish | Desktop & Services Development | TomTom | kiffin.gish@??? | +31 (0) 6 15529214 mobile | +31 (0) 20 757 5000 office