Re: [VOTE][RESULT] 2.0 final release

2004-02-15 Thread Brad O'Hearne
Since I'm a newbiethis struck me funny...a quorum is 3 people? How many developers / committers are involved with HttpClient? On Feb 15, 2004, at 10:51 AM, Michael Becke wrote: The final vote tally was 3 +1s with no objections. I will proceed with creating the release. Mike

Re: Trying to cancel PostMethod

2004-02-11 Thread Brad O'Hearne
I might be able to help you, depending on what you are doing in the POST. I just had to do this very thing for a file upload POST. The way I accomplished this was to extend the org.apache.commons.httpclient.methods.multipart.FilePartSource class and return my own InputStream, that checked for

Re: httpclient and ejb

2004-02-02 Thread Brad O'Hearne
I can't answer the HttpClient side of this but I can the EJB side: don't do it. Its not only against the ejb spec, it has to potential to leave resources hanging out in the wind (memory/processing leak). BradO On Feb 2, 2004, at 3:35 PM, Милен Евтимов

RE: More unwanted HttpClient logging

2004-02-02 Thread Brad O'Hearne
; Technically it's better to set the property before starting Java (using > - > Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog) > when running java, but I believe if the System.setProperty is one of > the first things done, it should still work. > > Thanks

More annoying logging

2004-02-02 Thread Brad O'Hearne
Got another one of these unwanted log messages spewing to System.out: Feb 2, 2004 11:32:48 AM org.apache.commons.httpclient.HttpMethodBase processRequest INFO: Recoverable exception caught when processing request Except this time, prior to this executing, I set the log level at WARN. Anyone know

More unwanted HttpClient logging

2004-02-02 Thread Brad O'Hearne
Got another one of these unwanted log messages spewing to System.out: Feb 2, 2004 11:32:48 AM org.apache.commons.httpclient.HttpMethodBase processRequest INFO: Recoverable exception caught when processing request Except this time, prior to this executing, I set the log level at WARN. Anyone know

Multiple instances of HttpClient sharing state?

2004-02-02 Thread Brad O'Hearne
Hey gang, I have a method that creates an instance of HttpClient and invokes an execute method (an http post). I have two separate threads that invoke this method. The method is totally thread-safe, i.e. each invocation of the method will create its own instance of HttpClient. Will these two se

When does an HttpException occur in httpclient.execute()?

2004-02-02 Thread Brad O'Hearne
Hey gang, Just came across something rather odd. I have an instance of HttpClient and am invoking the execute() method passing it a PostMethod. I have two comments/questions: 1. It looks subtle, but I think the method needs to be rewritten to list its HttpException prior to the IOException, so

Re: Promote HttpClient out of commons?

2004-02-01 Thread Brad O'Hearne
Hey all, I'm new to the HttpClient mailing list, but here's a couple of newbie observations: * Please correct me if I am wrong, but I always thought that TLPs were supposed to support multiple platforms, hence their top level status. Whereas I can certainly imagine HttpClient implemented in stra

turning off output

2004-01-29 Thread Brad O'Hearne
When running an app that uses HttpClient, I get the following output to standard out: Jan 29, 2004 10:22:31 AM org.apache.commons.httpclient.HttpMethodBase processRedirectResponse INFO: Redirect requested but followRedirects is disabled Is there any way to turn this output off? I am sure it has

HttpClient, SSL, and keystores

2004-01-28 Thread Brad O'Hearne
Hey all, I am experiencing very strange behavior using HttpClient over SSL, and I wondered if someone could enlighten me as to how it works. Basically, I have a small app that uses HttpClient to contact a web server over https. What the app does is unimportant, but I have been playing around