Re: No cookie.. Proxy realm.. limit setFollowRedirects

2004-02-16 Thread Ortwin Glück
Emre Sokullu wrote: Hi all, I have 3 questions : 1) How can I reject all cookies ? (code please) public class NoCookieState extends HttpState { public void addCookie(Cookie cookie) { } public void addCookies(Cookie[] cookies) { } } HttpClient client = new HttpClient(); client.setState

Re: No cookie.. Proxy realm.. limit setFollowRedirects

2004-02-15 Thread Oleg Kalnichevski
On Sat, 2004-02-14 at 01:27, Emre Sokullu wrote: > Thanx again Oleg... > > I didn't understand why redirection won't be allowed when old host and new > host are the same. > > Forexample for one of my domains I made such a DNS arrangement : > > www.mydomain.com --> A --> M.Y.I.P > mydomain.co

Re: No cookie.. Proxy realm.. limit setFollowRedirects

2004-02-13 Thread Emre Sokullu
Thanx again Oleg... I didn't understand why redirection won't be allowed when old host and new host are the same. Forexample for one of my domains I made such a DNS arrangement : www.mydomain.com --> A --> M.Y.I.P mydomain.com --> REDIRECT --> www.mydomain.com So when trying to connec

Re: No cookie.. Proxy realm.. limit setFollowRedirects

2004-02-13 Thread Oleg Kalnichevski
On Fri, 2004-02-13 at 22:19, Emre Sokullu wrote: > Hi Oleg, > > I have visited the link that you have given to me for the > "setFollowRedirects()" problem: > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21216 > > At this link, I've read that httpclient follows redirections for 100 times >

Re: No cookie.. Proxy realm.. limit setFollowRedirects

2004-02-13 Thread Emre Sokullu
Hi Oleg, I have visited the link that you have given to me for the "setFollowRedirects()" problem: > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21216 At this link, I've read that httpclient follows redirections for 100 times by default. So I've thought that if I knew the instance that d

Re: No cookie.. Proxy realm.. limit setFollowRedirects

2004-02-13 Thread Oleg Kalnichevski
On Fri, 2004-02-13 at 21:27, Emre Sokullu wrote: > Thanx very much Oleg for your answers, I have a few things to say : > > > > 1) How can I reject all cookies ? (code please) > > > > This feature is only available in the development version of HttpClient > > (3.0, which is currently in pre-alpha d

Re: No cookie.. Proxy realm.. limit setFollowRedirects

2004-02-13 Thread Emre Sokullu
Thanx very much Oleg for your answers, I have a few things to say : > > 1) How can I reject all cookies ? (code please) > > This feature is only available in the development version of HttpClient > (3.0, which is currently in pre-alpha development stage). There's no > straight-forward way to autom

Re: No cookie.. Proxy realm.. limit setFollowRedirects

2004-02-13 Thread Oleg Kalnichevski
Hi Emre On Fri, 2004-02-13 at 20:21, Emre Sokullu wrote: > Hi all, > > I have 3 questions : > > 1) How can I reject all cookies ? (code please) This feature is only available in the development version of HttpClient (3.0, which is currently in pre-alpha development stage). There's no straight-

No cookie.. Proxy realm.. limit setFollowRedirects

2004-02-13 Thread Emre Sokullu
Hi all, I have 3 questions : 1) How can I reject all cookies ? (code please) 2) How can I limit number of redirections for "setFollowRedirects()" method ? (code please) 3) How can I skip entering proxy realm ? I mean : Forexample for simple authentication, to skip the realm, we use "setAuth