Re: Accept-Encoding:gzip

2017-05-25 Thread Bindul Bhowmik
On Thu, May 25, 2017 at 11:13 AM, Shaun Elliott wrote: > The following code works in v4.2.x > > public class RestClientTest { > private static final Executor EXECUTOR = Executor.newInstance(); > > public static void main(String[] args) throws IOException { > Request request = > Req

Accept-Encoding:gzip

2017-05-25 Thread Shaun Elliott
The following code works in v4.2.x public class RestClientTest { private static final Executor EXECUTOR = Executor.newInstance(); public static void main(String[] args) throws IOException { Request request = Request.Get("http://www.google.com/";).addHeader("Accept-Encoding", "gzip

async http client DNS error

2017-05-25 Thread Joan Balagueró
Hello, We are having this error sporadically (once every week). Additional information: java.net.UnknownHostException: live.suppliers.gsisservices.com: System error at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) at java.net.InetAddress$2.look

RE: Async client with self signed certificate

2017-05-25 Thread Joan Balagueró
Hi, Yes, you were right, the keystore didin't have the server's public certificate. Thanks, Joan. -Mensaje original- De: Hassan Khan [mailto:hassankhan...@gmail.com] Enviado el: jueves, 18 de mayo de 2017 21:08 Para: HttpClient User Discussion Asunto: Re: Async client with self signed