>-----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. >As I recall, that is a bit more complicated, because under Tomcat the Request >is >immutable, so you have to subclass it, and add the header dynamically when the >application >issues a request.getHeaders call or so.
Oh sorry, I misinterpreted that. @Thomas: By other words, you want to know something about the destination of your request. To be curious I want to know what the different Connectors are used for? Maybe there's another thing associated with the Connector that is more easy to detect for the application. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org