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
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
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
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
>
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
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
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
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-
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