in reply to Headers not being sent with mod_perl2

I have a page, that adds a filter.... My question is what am I doing that headers aren't being sent?

What do you have? The filter/configuration bits are as important as self-contained code , because mason/mod_perl/apache ... too many details that need to be detailed (example of similar journey mod_perl give 404 not_found with content )

  • Comment on Re: Headers not being sent with mod_perl2

Replies are listed 'Best First'.
Re^2: Headers not being sent with mod_perl2
by smithd77 (Initiate) on Apr 09, 2014 at 17:46 UTC
    The filter is dynamically added, it's not a config option and is added by :
    my $r = idc::NTI::Session::Request->get_instance->get_apache_request; $r->add_output_filter(\&{"${class}::handler"});
    The filter works perfectly but can not change the headers.

      The filter works perfectly but can not change the headers.

      Ok then, have a nice day :)