Re: org.apache.http.ProtocolException: Invalid header: HTTP/1.1 200 OK

2012-05-30 Thread rpinto
Hi olegk, Thank you very much, your second link did the trick. Best regards, rpinto olegk wrote: On Tue, 2012-05-29 at 16:55 +0100, Sam Crawford wrote: As an example, take a look at the bottom of

Re: Use a unique instance of httpclient with some differents sets of trust certificates

2012-05-30 Thread Jose Escobar
Hi, Finally I found a solution. I create a new SchemeRegistry on each request thread that need specific trust and key material and I add it as a SCHEME_REGISTRY attribute to a Context variable(each thread maintains its own dedicated instance of HttpContext). Then I use the singleton httpClient

Re: Use a unique instance of httpclient with some differents sets of trust certificates

2012-05-30 Thread Oleg Kalnichevski
On Wed, 2012-05-30 at 14:02 +0200, Jose Escobar wrote: Hi, Finally I found a solution. I create a new SchemeRegistry on each request thread that need specific trust and key material and I add it as a SCHEME_REGISTRY attribute to a Context variable(each thread maintains its own dedicated

Re: AW: java.lang.NullPointerException at org.apache.http.entity.StringEntity.init(StringEntity.java:70

2012-05-30 Thread Oleg Kalnichevski
On Wed, 2012-05-30 at 14:52 +0200, michael.fankanow...@t-systems.com wrote: Hi Oleg, can I obtain a binary for 4.2.1-SNAPSHOT from somewhere? Do you know when the next stable version will be published? You can build it from source

Re: Getting a compressed version of web page

2012-05-30 Thread Mugoma Joseph Okomba
Thanks for the suggestions. I moved to HC 4.2 and tested several links and compression appears to work. The only time compression fails is when the URL redirects. e.g. a) curl -v -H Accept-Encoding: gzip