Re: Exceptions getting silently eaten away

2008-11-05 Thread Oleg Kalnichevski
On Wed, 2008-11-05 at 18:02 +0530, hemant wrote: Hi, I am using httpcore-nio 4.0 beta 2, client extensions for consuming a web service which uses http push. I am quite perplexed by the behavior of library where its eating all the throw exceptions thrown in any of the callback methods

Re: httpclient timeout: https vs. http

2008-11-05 Thread Oleg Kalnichevski
On Tue, 2008-11-04 at 09:15 -0800, Ben Smith wrote: Hi Oleg, I got the code of your EasySSLProtocolSocketFactory from the link of http://hc.apache.org/httpclient-3.x/sslguide.html. And I used Java 5. Did these ensured the two things you mentionsed - the latest version and Java 1.4

How to retireve parameter's value from a ResponseBody of a post method.

2008-11-05 Thread Pronab Bhattacharyya
I want to get a particular parameter's value that have in the response body of the Http post method. As we know that the getResponseBodyAsStream of PostMethod returns the whole response body. But I only have to retrieve some parameters values For example, if we save the ResponseBody into a

AW: NTLM-Proxy authentication and SSL-target

2008-11-05 Thread Cech. Ulrich
The version of Squid you are using appears broken. The proxy keeps one sending 'Proxy-Connection: close' which is wrong given the fact that NTLM requires a persistent connection in order to function. Hi Oleg, But how can it be explained, that a non-ssl target is handled correct? The wire-log

Re: How to retireve parameter's value from a ResponseBody of a post method.

2008-11-05 Thread Oleg Kalnichevski
On Wed, 2008-11-05 at 20:39 +0530, Pronab Bhattacharyya wrote: I want to get a particular parameter's value that have in the response body of the Http post method. As we know that the getResponseBodyAsStream of PostMethod returns the whole response body. But I only have to retrieve some

Re: AW: NTLM-Proxy authentication and SSL-target

2008-11-05 Thread Oleg Kalnichevski
On Wed, 2008-11-05 at 16:17 +0100, Cech. Ulrich wrote: The version of Squid you are using appears broken. The proxy keeps one sending 'Proxy-Connection: close' which is wrong given the fact that NTLM requires a persistent connection in order to function. Hi Oleg, But how can it be

Re: Session handling in HttpClient

2008-11-05 Thread Eugene Kondrashev
Hi! Alternatively, to generically support all servers, you might want to do a periodic is session open request, which is basically a request to the server that checks if the session is open. If you want to do this, there is a very safe way to implement something like this. Just ask me and I'll

RE: How to retireve parameter's value from a ResponseBody of a post method.

2008-11-05 Thread Natarajan_Valli
You could possibly set ProjectID as a response header and use one of getResponseHeader* methods of PostMethod to get this value... Hope this helps... Regards Valliappan -Original Message- From: Pronab Bhattacharyya [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2008 7:10 AM