Re: about setting r-headers_out

2012-05-11 Thread Daniel Gruno
On 05/10/2012 06:39 PM, Nick Kew wrote: This function must be called to set r-content_type in order for the AddOutputFilterByType directive to work correctly., so it may be related to your problem. Whoops! That's no longer true since AddOutputFilterByType moved to mod_filter. Where do the

Re: about setting r-headers_out

2012-05-10 Thread Daniel Gruno
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 tried to use:

Re: about setting r-headers_out

2012-05-10 Thread Julio Carlos Barrera Juez
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

Re: about setting r-headers_out

2012-05-10 Thread Nick Kew
On Thu, 10 May 2012 12:36:54 +0200 Daniel Gruno rum...@cord.dk 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

Re: about setting r-headers_out

2012-02-29 Thread Sorin Manolache
On 02/29/12 07:52, Rui Hu wrote: hi, I want to set Content-Type and Cache-Control fields in my private module. So I hooked fixups and used apr_table_setn to set r-headers_out but nothing happened. Was it thought through? Thanks for you help! Try to set r-err_headers_out. For content-type

Re: about setting r-headers_out

2012-02-29 Thread Rui Hu
Thanks! I tried to hook handler and it works well. Rui Hu 2012/2/29 Sorin Manolache sor...@gmail.com On 02/29/12 07:52, Rui Hu wrote: hi, I want to set Content-Type and Cache-Control fields in my private module. So I hooked fixups and used apr_table_setn to set r-headers_out but nothing

about setting r-headers_out

2012-02-28 Thread Rui Hu
hi, I want to set Content-Type and Cache-Control fields in my private module. So I hooked fixups and used apr_table_setn to set r-headers_out but nothing happened. Was it thought through? Thanks for you help! Best regards, Rui Hu