One thing should be point out, CXF uses Http URL Connector which is from JDK by 
default.
If you are using CXF 2.7.x and enable the async http client setting, it will 
use the Apache Http Client 4.x to send the request.


--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) 
(English)
          http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem





On Tuesday, October 29, 2013 at 6:46 PM, alexey-s wrote:

> You'll be surprised. CXF uses the same library Apache HttpComponents.
> CXF client initially twice sends an HTTP request. The first request without
> authorization. Second with authorization.
>  
> For a GET request such behavior is acceptable. For a POST request is very
> bad.
>  
>  
> Aleksey
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/HTTP-Basic-Authentication-tp5742229p5742348.html
> Sent from the Camel - Users mailing list archive at Nabble.com 
> (http://Nabble.com).



Reply via email to