Re: URI.parseAuthority throws URIException: invalid port number when using login with at-sign

2004-08-26 Thread Ortwin Glck
Rudolf, this is indee tricky. We had a similar bug here regarding the # character. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=28728 Does this help? Ortwin Glck Rudolf Kaertner wrote: Is this a well known behaviour or is this to be considered as a bug? The at-sign ([EMAIL PROTECTED]) is

How to use two distinct HttpClients on the same web site

2004-08-26 Thread Fabien BALAGEAS
Hi, I am using HttpClient 2.0.1. I would like to have two HttpClient connections to the same web site in my application, but from two distinct HttpClient (i.e. each connection should handle its self cookies). How can i realize this task ? Up to now, i only managed to have two connections

Re: How to use two distinct HttpClients on the same web site

2004-08-26 Thread Oleg Kalnichevski
Fabien, If all you need is to maintain a distinct conversational state per logical web application hosted on the same physical platform, you should have just only one HttpClient instance and then keep different HttpState instances per web application. It does take a bit of HttpState juggling,

Re: RE : How to use two distinct HttpClients on the same web site

2004-08-26 Thread Oleg Kalnichevski
On Thu, 2004-08-26 at 11:28, Fabien BALAGEAS wrote: Thank you Oleg, I was not able to keep the hostconfiguration parameter to null in httpclient.executeMethod(null, httpget1, httpstate1); I had to set it to httpClient.getHostConfiguration()... In fact, i want to access the same

RE : RE : How to use two distinct HttpClients on the same web site

2004-08-26 Thread Fabien BALAGEAS
I am sorry: it works now as expected; it was a big mistake of mine! ;o) Thanks for your help! Fabien -Message d'origine- De : Oleg Kalnichevski [mailto:[EMAIL PROTECTED] Envoyé : jeudi 26 août 2004 13:42 À : Commons HttpClient Project Objet : Re: RE : How to use two distinct HttpClients

problem with reading response of a multipart post

2004-08-26 Thread Tomislav Dedus
Hi, first of all great project. But I'm having little trouble with a multipart post.All other requests are working fine. After I execute the MultipartPostMethod with a few (120) StringParts nothing happens. The log shows that I get the response header HTTP/1.1 100 continue but thats all. Then

Re: problem with reading response of a multipart post

2004-08-26 Thread Ortwin Glück
Tomislav Dedus wrote: Hi, first of all great project. But I'm having little trouble with a multipart post.All other requests are working fine. After I execute the MultipartPostMethod with a few (120) StringParts nothing happens. The log shows that I get the response header HTTP/1.1 100 continue

Re: problem with reading response of a multipart post

2004-08-26 Thread Tomislav Dedus
Hi Ortwin, i've tried that earlier, but nothing changed expect that no unexpected response appeared in the log. Do you have another clue? Best regards... Tomislav Dedus wrote: Hi, first of all great project. But I'm having little trouble with a multipart post.All other