hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: No cookie.. Proxy realm.. limit setFollowRedirects
Date Fri, 13 Feb 2004 19:56:06 GMT
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-forward way to automatically reject all the cookies in the
stable version (2.0 branch) of HttpClient

> 2) How can I limit number of redirections for "setFollowRedirects()" method ? (code please)

There's currently a request pending for this feature. I _may_ be able to
tackle it in the coming weeks. Anyways, it's the next thing on my to-do


> 3) How can I skip entering proxy realm ? I mean :
> Forexample for simple authentication, to skip the realm, we use "setAuthenticationPreemptive(true)"
method first. Is there something similar to this for proxy servers?

Preemptive authentication mode applies to both target host and proxy
authentication. Just make sure you supply default (null realm, null
host) proxy credentials. That should do the trick.


To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org

View raw message