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
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:
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
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
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
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
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