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
list

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21216

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

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to