RE: Proxy

2004-09-28 Thread Hentzen, Rudy
A...there we go, my code did not include that line. Thank you very much. Rudy -Original Message- From: Roland Weber [mailto:[EMAIL PROTECTED] Sent: 28 September 2004 15:19 To: Commons HttpClient Project Subject: RE: Proxy Hello Rudy, does your application include this line from

RE: Proxy

2004-09-28 Thread Roland Weber
ons HttpClient Project" <[EMAIL PROTECTED]> cc Subject RE: Proxy Oh cant relative urls be used?? I thought they could as the example for form login uses them: PostMethod authpost = new PostMethod("/servlet/SessionServlet"); // Prepare login parameters

RE: Proxy

2004-09-28 Thread Hentzen, Rudy
thing I need to consider??? Thanks for your help Rudy -Original Message- From: Roland Weber [mailto:[EMAIL PROTECTED] Sent: 28 September 2004 15:11 To: Commons HttpClient Project Subject: RE: Proxy Hello Rudy, unfortunately, you did not tell us the URLs you are actually accessing. My gu

RE: Proxy

2004-09-28 Thread Roland Weber
004 14:12 Please respond to "Commons HttpClient Project" To "Commons HttpClient Project" <[EMAIL PROTECTED]> cc Subject RE: Proxy Hi, I have created a method that carries out post commands and returns the response body. It is called doPostMethod and my usage is sho

RE: Proxy

2004-09-28 Thread Hentzen, Rudy
pclient.HttpClientTutorial.main(HttpClientTutorial.java:46) But removing the code that produces the error makes the error go away. Any help would be appreciated. Thanks Rudy -Original Message- From: Hentzen, Rudy Sent: 28 September 2004 10:10 To: Commons HttpClient Project Subject:

RE: Proxy

2004-09-28 Thread Hentzen, Rudy
Thank you very much, I was using port 8081, as it was given with the pac script. Your help has been very appreciated. Thanks again Rudy -Original Message- From: Ortwin Glück [mailto:[EMAIL PROTECTED] Sent: 28 September 2004 10:07 To: Commons HttpClient Project Subject: Re: Proxy

Re: Proxy

2004-09-28 Thread Ortwin Glück
Hentzen, Rudy wrote: Thanks for the swift reply, I have a proxy ip address, is that supported?? Rudy Sure. Just fill it into the example, where it says "myproxyhost" and 8080 is the TCP port. - To unsubscribe, e-mail: [EMAIL PRO

RE: Proxy

2004-09-28 Thread Hentzen, Rudy
Thanks for the swift reply, I have a proxy ip address, is that supported?? Rudy -Original Message- From: Ortwin Glück [mailto:[EMAIL PROTECTED] Sent: 28 September 2004 10:00 To: Commons HttpClient Project Subject: Re: Proxy Rudy, That URL only contains so-called PAC-Proxy code. This

Re: Proxy

2004-09-28 Thread Ortwin Glück
Rudy, That URL only contains so-called PAC-Proxy code. This is JavaScript that can tell web browsers which proxy to use for a particular URL. It is probably not the same host as the actual proxy! HttpClient currently does not support PAC code. You will need to figure out which proxy applies to

RE: proxy authentication

2004-05-11 Thread Kalnichevski, Oleg
02 To: 'Commons HttpClient Project' Subject: RE: proxy authentication The log msg is attached. The program waits for a while after "Proxy-Connection: Keep-Alive" line and throws a 504 error (connection time out). lili Thanks. -Original Message- From: Michael Becke [mail

RE: proxy authentication

2004-05-10 Thread Lili Liu
-Original Message- From: Lili Liu [mailto:[EMAIL PROTECTED] Sent: Monday, May 10, 2004 10:02 AM To: 'Commons HttpClient Project' Subject: RE: proxy authentication The log msg is attached. The program waits for a while after "Proxy-Connection: Keep-Alive" lin

RE: proxy authentication

2004-05-10 Thread Lili Liu
nt Project Subject: Re: proxy authentication Hi lili, It sounds like an internal problem with the proxy server, but it's difficult to tell. If you post a wire log <http://jakarta.apache.org/commons/httpclient/logging.html> we should be able to get a better idea of what's happen

Re: proxy authentication

2004-05-09 Thread Michael Becke
Hi lili, It sounds like an internal problem with the proxy server, but it's difficult to tell. If you post a wire log we should be able to get a better idea of what's happening. Mike On May 9, 2004, at 7:30 PM, Lili Liu wrote: My p

Re: Proxy detection in the Sun plugin

2004-03-11 Thread Adrian Sutton
On 12/3/04 7:34 AM, "Bruce McHaffie" <[EMAIL PROTECTED]> wrote: > Hi Adrian, I hadn't heard about the problem in 1.4.2. Do you have any other > information about it? I don't at the moment unfortunately. It may be that I'm the only person seeing it for all I know right now. We haven't received a

RE: Proxy detection in the Sun plugin

2004-03-11 Thread Bruce McHaffie
Hi Adrian, I hadn't heard about the problem in 1.4.2. Do you have any other information about it? Bruce. -Original Message- From: Adrian Sutton [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 09, 2004 5:14 PM To: Commons HttpClient Project Subject: Re: Proxy detection in the Sun p

Re: Proxy detection in the Sun plugin

2004-03-09 Thread Adrian Sutton
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 JavaScript. That's the reason why HttpClient > does not tr

Re: Proxy detection in the Sun plugin

2004-03-09 Thread Ortwin Glück
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 JavaScript. That's the reason why HttpClient does not try to interprete proxy.pac files. Maybe one can use Rhino at some point to do tha

Re: Proxy unit tests

2003-06-11 Thread Michael Becke
As for the SSL guide, I'd just commit it as is and deploy it. It's good enough that it will be useful to people and I can do the cleanup work on it when this all gets sorted out to make it a little easier to read and make it fit in with the same style as the rest of our documentation. Agreed.

Re: Proxy unit tests

2003-06-11 Thread Adrian Sutton
On Thursday, June 12, 2003, at 07:51 AM, Oleg Kalnichevski wrote: Adrian, I whole-heartedly support the idea of developing a suite of unit tests dedicated to the proxied HTTP communication. The only catch here is that such test cases would require a full blown proxy server. There seems to be no

RE: proxy and howto's and some questions.

2003-03-20 Thread Adrian Sutton
Hi Nick, I think I've confused myself and in turn this conversation. I think we generally agree though. Here's the solutions that I would propose in preferential order. 1. Add support for no-proxy URLs to HttpClient, so that you can set the proxy host, port and a list of servers not to use the p

RE: proxy and howto's and some questions.

2003-03-20 Thread Nick Coleman
Hey Adrian, Thanks for the feedback. Just a few comments... -Original Message- From: Adrian Sutton [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 6:11 PM To: 'Commons HttpClient Project' Subject: RE: proxy and howto's and some questions. > The most useful t

RE: proxy and howto's and some questions.

2003-03-19 Thread Adrian Sutton
Hi Nick, Thanks for your comments, we are developing a cross-platform applet with 1.3+ and running on Windows, OS X, Solaris and when Mozilla fix a particular bug, Linux so I've been through similar experiences to you. A few of my comments are below. >1) VM and Sandbox issues - Since applets need

RE: proxy and howto's and some questions.

2003-03-19 Thread Oleg Kalnichevski
issues, what I really see is more of a "best practice" > or suggestions rather than an applet utility, with the exception of the > proxy detection code. > > -Nick > > -Original Message- > From: Oleg Kalnichevski [mailto:[EMAIL PROTECTED] > Sen

RE: proxy and howto's and some questions.

2003-03-19 Thread Nick Coleman
oxy detection code. -Nick -Original Message- From: Oleg Kalnichevski [mailto:[EMAIL PROTECTED] Sent: Thursday, February 20, 2003 4:16 PM To: Commons HttpClient Project Cc: [EMAIL PROTECTED] Subject: RE: proxy and howto's and some questions. Hi Nick > My company is currentl

RE: proxy and howto's and some questions.

2003-02-20 Thread Oleg Kalnichevski
bably be better maintained in the future. > > -Nick > > -Original Message- > From: Ortwin Glück [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 19, 2003 4:27 AM > To: Commons HttpClient Project > Subject: Re: proxy and howto's and some questions. > >

Re: Proxy-Connection: close header

2003-02-19 Thread Laura Werner
Adrian Sutton wrote: Do you have any idea how to make squid use that header? I don't think we're doing anything special to make it happen. Here are the headers from a couple of typical transaction, with a few host names slightly obscured. This is using my own Java-based caching code on top

RE: Proxy-Connection: close header

2003-02-19 Thread Adrian Sutton
o: Commons HttpClient Project Subject: Re: Proxy-Connection: close header Adrian Sutton wrote: >Just run into a non-standards compliance problem with IIS proxies in certain >configurations. At times instead of returning a "Connection: close" header, >it returns a "Prox

Re: Proxy-Connection: close header

2003-02-19 Thread Laura Werner
Adrian Sutton wrote: Just run into a non-standards compliance problem with IIS proxies in certain configurations. At times instead of returning a "Connection: close" header, it returns a "Proxy-connection: close" header. For what it's worth, I've noticed that Squid sometimes uses a Proxy-Conn

Re: proxy and howto's and some questions.

2003-02-19 Thread Adrian Sutton
> 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 plugi

RE: proxy and howto's and some questions.

2003-02-19 Thread Nick Coleman
Subject: Re: proxy and howto's and some questions. 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 :-) Nick, can we adopt this piece of code under the Apache License? We should think abou

Re: proxy and howto's and some questions.

2003-02-19 Thread Ortwin Glück
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 :-) Nick, can we adopt this piece of code under the Apache License? We should think about pac-proxy script parsing as well at some point. O

Re: proxy and howto's and some questions.

2003-02-18 Thread Adrian Sutton
Disclaimer: It's 10:30pm, I've been writing documentation for the various authentication schemes and I normally reply to email in the morning - I hope this makes sense. :) > Hello, > > Are there any howto's about the usage of this package? I can only find > the API, but some examples are always mo

Re: proxy and howto's and some questions.

2003-02-18 Thread Ronald Klop
Thank for the explanation. It makes it more clear what the purpose of some things are. Now I now you don't need an HttpClient per host my code can be cleaned up some. Just create one HttpClient. Config it with HostConfiguration with proxy settings and feed it methods using complete urls. Greetings

RE: proxy and howto's and some questions.

2003-02-18 Thread Adrian Sutton
Disclaimer: It's 10:30pm, I've been writing documentation for the various authentication schemes and I normally reply to email in the morning - I hope this makes sense. :) Second disclaimer: I don't think this message has made it though - I had many problems with the nightly backup starting and ki

RE: proxy and howto's and some questions.

2003-02-18 Thread Nick Coleman
Mike, My company is currently using the HttpClient utility in an Applet successfully through proxy servers detected by the browser. Here is how the proxy settings are configured: HttpClient client = new HttpClient(); HostConfiguration hostConfig = client.getHostConfiguration(); hostConfig.setPro

Re: proxy and howto's and some questions.

2003-02-18 Thread Michael Becke
Hello Ronald, There are some examples in cvs. You can get to them here: http://cvs.apache.org/viewcvs/jakarta-commons/httpclient/src/examples/ I get the impression that HttpClient is not being used much in applets. This explains why there is no built-in support for the browser proxy settin