Hi everybody,

I did some investigations and for what I saw, it seems that the
User-Agent is not something I can overwrite easily ...

It is not an HTTPConduit property and it is something deeply "hardcoded"
from the Version (final class) ...

It looks like by implementing my own HTTPUrlConnectionFactory I could
set what I want, but I would like to understand such a limitation before ;-)

BTW, in
http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html,
in the description of the BrowserType property, it is a bit confusing :

Specifies information about the browser from which the request
originates. In the HTTP specification from the World Wide Web consortium
(W3C) *this is also known as the /user-agent/*. Some servers optimize
based upon the client that is sending the request.


Regards

--
Tom


Reply via email to