RE: Auto-detecting proxy settings in a standalone Java app

2004-10-22 Thread Bruce McHaffie
n.AppMain sandbox.Test Any thoughts? Thanks, Chris I obviously need some other file in the path, but I don't know which... >From: Bruce McHaffie <[EMAIL PROTECTED]> >Reply-To: "Commons HttpClient Project" ><[EMAIL PROTECTED]> >To: "'Commons HttpClie

RE: Auto-detecting proxy settings in a standalone Java app

2004-10-22 Thread Bruce McHaffie
Hi Chris, You may also want to take a look at the plugin.jar that ships with the JRE. You'll find some good stuff in sun.plugin.net.proxy.WIExplorerProxyConfig. Here are the registry entries that Sun looks for in that class. private static final String REGSTR_PATH_INTERNET_SETTINGS = "Softwar

RE: Apache license, httpclient, and applets

2004-04-13 Thread Bruce McHaffie
nnels to clarify this issue for you Oleg -Original Message- From: Bruce McHaffie [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 17:17 To: 'Commons HttpClient Project' Subject: Apache license, httpclient, and applets Sorry if this is the wrong place to post. I'd like to

Apache license, httpclient, and applets

2004-04-13 Thread Bruce McHaffie
Sorry if this is the wrong place to post. I'd like to use HttpClient in an applet as part of a product feature for the company I work for. The legal department though is stuck on the provision in the Apache license that says we have to "...give any other recipients of the Work or Derivative Works a

RE: Proxy detection in the Sun plugin

2004-03-11 Thread Bruce McHaffie
lugin On 10/3/04 2:36 AM, "Ortwin Glück" <[EMAIL PROTECTED]> wrote: > > > Bruce McHaffie wrote: >> It even parses >> proxy.pac files correctly. > > I guess the browser parses the proxy.pac, not the Sun classes. AFAIK > proxy.pac is written in JavaScri

RE: Chunked upload through SunONE proxy server

2004-03-09 Thread Bruce McHaffie
Tue, 2004-03-09 at 16:23, Bruce McHaffie wrote: > Hi, I'm using httpclient to do large file uploads. It works just fine > through a direct connection to the LAN but when I go through iPlanet Web > Proxy Server (3.6) the POST is forwarded to the target host with no body. So > the messag

Proxy detection in the Sun plugin

2004-03-09 Thread Bruce McHaffie
I've seen a couple of threads here about detecting proxy settings in applets (ex: http://nagoya.apache.org/eyebrowse/ReadMsg?listId=128&msgNo=1884). In case this helps someone out, Sun actually provided an API in 1.4 to let you hook into the plugin's proxy detection logic. The code looks like this:

Chunked upload through SunONE proxy server

2004-03-09 Thread Bruce McHaffie
Hi, I'm using httpclient to do large file uploads. It works just fine through a direct connection to the LAN but when I go through iPlanet Web Proxy Server (3.6) the POST is forwarded to the target host with no body. So the message inbound to the web server (outbound from the proxy server) is: POS