hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Move TrustSelfSignedStrategy and TrustAllStrategy from HttpClient 5 to HttpCore 5
Date Wed, 10 May 2017 07:49:31 GMT
On Tue, 2017-05-09 at 17:10 -0700, Gary Gregory wrote:
> Hi All,
> 
> I would like to move TrustSelfSignedStrategy and TrustAllStrategy
> from
> HttpClient 5 to HttpCore 5.
> 
> The reason is that the SslContextBuilder is in HttpCore and that is
> the
> most public place TrustStrategy implementations are used (in my use
> cases
> at least.)
> 
> Furthermore, when I want to use TrustSelfSignedStrategy and
> TrustAllStrategy I have to drag in HttpClient when that is in fact
> the only
> two classes I need.
> 
> Thoughts?
> 
> Gary

Why? Those are one line implementations. Under normal circumstances
people should not even be using those classes. 

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message