Hi, Mike.
Thanks so much. That solved it! I originally had the
..setAuthenticationPreemptive(true)..bit but had taken it out because it
didn't seem to work earlier. The explanations were really helpful too.
This is an incredibly helpful list!
Madeleine
Michael Becke wrote:
Hi Madeleine,
The
#x27;s working
now if you need some code.
Erik
-----Original Message-
From: Madeleine Wright [mailto:[EMAIL PROTECTED]
Sent: Friday, October 08, 2004 8:46 AM
To: Commons HttpClient Project
Subject: getting through a proxy server
Please can someone suggest the simplest way to access a URL
prog
Hi.
Thanks for all the suggestions. I tried replacing
client.getHostConfiguration()..with method.getHostConfiguration butit
didn't seem to make any difference. I changed "method" back to "client"
and retried and for the second attempt it did authenticate me - but not
for the first.
Initiall
's working
now if you need some
code.
Erik
-Original Message-
From: Madeleine Wright [mailto:[EMAIL PROTECTED]
Sent: Friday, October 08, 2004 8:46 AM
To: Commons HttpClient Project
Subject: getting through a proxy server
Please can someone suggest the simplest way to access a URL
Please can someone suggest the simplest way to access a URL
programatically through a proxy server? I'm using HttpClient and the
proxy bits of my code look like this (everything else works fine - I can
access all sites inside the firewall):
HttpClient client = new HttpClient();
...