RE: How to add an header field to all requests unconditionally

2019-03-13 Thread Jäkel , Guido
>-Original Message- >From: André Warnier (tomcat) [mailto:a...@ice-sa.com] >Sent: Wednesday, March 13, 2019 12:11 PM >To: users@tomcat.apache.org >Subject: Re: How to add an header field to all requests unconditionally > >The OP wants to insert a *Request* header, not a Response header.

Re: How to add an header field to all requests unconditionally

2019-03-13 Thread tomcat
Addendum : On 13.03.2019 12:03, André Warnier (tomcat) wrote: On 13.03.2019 11:44, Jäkel, Guido wrote: Dear Thomas, you may include a filter servlet into the application to modify the response header. A quick search offers e.g. https://gist.github.com/danlangford/3669475 , which states to

Re: How to add an header field to all requests unconditionally

2019-03-13 Thread tomcat
On 13.03.2019 11:44, Jäkel, Guido wrote: Dear Thomas, you may include a filter servlet into the application to modify the response header. A quick search offers e.g. https://gist.github.com/danlangford/3669475 , which states to implement a generic, configurable Response Header Filter. You

RE: How to add an header field to all requests unconditionally

2019-03-13 Thread Jäkel , Guido
Dear Thomas, you may include a filter servlet into the application to modify the response header. A quick search offers e.g. https://gist.github.com/danlangford/3669475 , which states to implement a generic, configurable Response Header Filter. You may compile this servlet independent from an

Re: How to add an header field to all requests unconditionally

2019-03-13 Thread tomcat
On 13.03.2019 10:43, Thomas Meyer wrote: Hi, what would be the easiest way to uncoditionally add an header field to all requests coming from a given connector? Add (or use your existing) front-end Apache httpd server, with the mod_headers module ?

How to add an header field to all requests unconditionally

2019-03-13 Thread Thomas Meyer
Hi, what would be the easiest way to uncoditionally add an header field to all requests coming from a given connector? I searched the provided Valves but there seems to be no support for my requirment. with kind regards thomas