Hello,

I'm trying to write a proxy that passes the caller's HTTP user agent
through to the target endpoint. Currently, the user agent is being
removed from the incoming request and replaced with the Synapse user
agent. Is it possible to prevent this behavior or explicitly set the
user agent for the outgoing request? From what I can tell, the
org.apache.synapse.transport.nhttp.HttpCoreNIOSender#invoke method calls
removeUnwantedHeaders before it processes the outgoing request. This is
the method that explicitly removes the user agent.

Thanks,

Greg

Reply via email to