whfjam commented on issue #5265: URL: https://github.com/apache/skywalking/issues/5265#issuecomment-670803188
> Do you have a suggested way? Are you re-use the http method? em... i mean in my situation the service is just like a proxy one ,like serviceA-proxyService-serviceB ,in the proxyService it will keep all of the headers from serviceA includes the "sw8" ,but it used the HttpClient3.0 component to resend the request to serviceB,the class "org.apache.skywalking.apm.plugin.httpclient.v3.HttpClientExecuteInterceptor" it used the "httpMethod.addRequestHeader" to deliver the new sw8 header but it won’t override the old one from serviceA i modified it to httpMethod.setRequestHeader just like the code in the enhancement of httpclient4.0 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
