Re: Implementing mod_headers for response in Tomcat7

2012-04-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Teppei, On 4/1/12 5:15 AM, Teppei Yamada wrote: > I wanted to write something similar to apache httpd's mod_headers > so I read through Tomcat7.0.26 source code. Then I realized that > that could not be achieved without modifying coyote's > Abstract(

Re: Implementing mod_headers for response in Tomcat7

2012-04-01 Thread Pid
On 01/04/2012 10:15, Teppei Yamada wrote: > Hi, > > > I wanted to write something similar to apache httpd's mod_headers so I > read through Tomcat7.0.26 source code. > Then I realized that that could not be achieved without modifying coyote's > Abstract(Http11|Ajp)Processor.prepareResponse(). > T

Implementing mod_headers for response in Tomcat7

2012-04-01 Thread Teppei Yamada
Hi, I wanted to write something similar to apache httpd's mod_headers so I read through Tomcat7.0.26 source code. Then I realized that that could not be achieved without modifying coyote's Abstract(Http11|Ajp)Processor.prepareResponse(). That can never be done by Valve because some HTTP headers a