I think Sergey can explain the reason if the difference comes from CXF's 2.7.x.
But to clarify the situation further, could you precisely describe your situation? which 2.7.x version are you using? and in your 2.7.x setup, other headers are going through and only Via is dropped like in your previous 3.x situation? As you also saw in that stackoverflow message, there is also a difference in this property setting's behavior between JDK6 (at instantiation) and JDK7 (at class-loading). Here, are you using the same JDK for both 2.7.x and 3.0.x setups? 2015-09-10 14:07 GMT+02:00 Govindaram PS <[email protected]>: > It works after setting sun.net.http.allowRestrictedHeaders to true. But it > works only with CXF version 3. > It is not working with CXF 2.7 > How to make it work for CXF 2.7? > > -Govind > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/Re-WebClient-removes-via-header-tp5760874p5760988.html > Sent from the cxf-user mailing list archive at Nabble.com.
