> Could we provide the code below in some Utility function?
> I guess this is convenient for people making Applets  - although Applets
> are generally a bad idea :-)

Sadly, this code will not work on OS X or most non-sun JREs.  The location
of proxy information is very much platform, JVM and plugin dependant.  I'd
say it would be a bad idea to include this in HttpClient, but including it
as an initial starting point in the docs may be worth while.

I guess it depends what the scope of HttpClient is, but I would have thought
that the proxy configuration should be something that's passed into
HttpClient rather than something it tries to figure out.  A separate project
which detects proxy settings in applets on various platforms, has the
ability to parse the auto-configuration pages for proxies etc, but it really
is a big can of worms that I don't think HttpClient needs (particularly
coming up to a release).

Adrian Sutton.


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

Reply via email to