On Thu, 10 May 2012 12:36:54 +0200
Daniel Gruno wrote:
> On 10-05-2012 12:25, Julio Carlos Barrera Juez wrote:
> > Hi!
> >
> > I have the same problem than you, Rui Hu. I have an output filter that
> > changes the body of the response, but then "content-type" header is
> > changed to "text/plain
It worked for me! Thank you very much! I don't know why, but I was
thinking this method changes the request "Content-Type", not the
response one (it has no sense at all, sorry).
Thank you very much Daniel! You solved my issue in 5 secs!
Regards, Juilo.
On 10 May 2012 12:36, Daniel Gruno wrote:
On 10-05-2012 12:25, Julio Carlos Barrera Juez wrote:
> Hi!
>
> I have the same problem than you, Rui Hu. I have an output filter that
> changes the body of the response, but then "content-type" header is
> changed to "text/plain", and I want to maintain the original
> "text/html".
>
> I have tri
Hi!
I have the same problem than you, Rui Hu. I have an output filter that
changes the body of the response, but then "content-type" header is
changed to "text/plain", and I want to maintain the original
"text/html".
I have tried to use:
apr_table_set(r->headers_out, "Content-Type", "text/html")