RE: Poof!

2003-06-26 Thread Kalnichevski, Oleg
Is it safe? Is it secret? I knew it would happen. Welcome back. You have been missed Oleg -Original Message- From: Jandalf [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 06:40 To: Commons HttpClient Project Subject: Poof! Hello all! My house has sold, I've moved to Calgary

Re: performance

2003-06-26 Thread Ortwin Glück
Zulfi Umrani wrote: I will appreciate if anyone answers my questions below. -Does anyone has perfromance comparison between HTTPClient and JDK HttpURLConnection? I remember there was a comment about that on the list some months ago. The guy said that HttpClient was slightly faster than

Re: Poof!

2003-06-26 Thread Ortwin Glück
Good to here that you are fine! Welcome back to the Fellowship of The Protocol. I have been missing your insightful comments on the list recently. Odi Jandalf wrote: My house has sold, I've moved to Calgary and I have a new job. All is well. I've been monitoring the list and have been taking

Re: invalid response code/body

2003-06-26 Thread Ortwin Glück
Molina, Teresa wrote: I'm experiencing a problem with the response code (and body) returned after HttpClient tries to execute a (get) method on an unknown host. If the host had previously been in DNS and returned a valid (200, eg) response code, subsequent attempts to execute still return that

Re: Client Auth / Certificates

2003-06-26 Thread Ortwin Glück
[EMAIL PROTECTED] wrote: I am looking for a way to specify a particular client SSL certificate for Client Authenticated SSL. This is usually done by writing a SSLSocketFactory that creates Sockets with the Client Cert attached.

RE: 2.0 release

2003-06-26 Thread Kalnichevski, Oleg
Jandalf, Beta-1 release surprisingly revealed very few bugs. None of those few was serious. It looks like we did a pretty good job during late Alpha3 eradicating most serious bugs. I believe HttpClient can now be considered feature and documentation complete. I agree with Adrian that what we

Re: HTTP client caching

2003-06-26 Thread Christian Sell
Laura Werner wrote: There shouldn't be any obstacles in your way to implement caching. It depends on what you want the cache's API to look like. I've been meaning to post about this lately, so here goes Ideally, I'd want the API for executing an HTTP method via the cache to look almost

Re: 2.0 release

2003-06-26 Thread Ortwin Glück
Kalnichevski, Oleg wrote: I have only one outstanding issue on my hands: deprecation of URIUtil.toXXXCharset methods. As far as I remember these methods are not currently used. So they do not harm. We can address this later if necessary. The whole issue seems still a bit unclear to me, but

RE: 2.0 release

2003-06-26 Thread Kalnichevski, Oleg
Odi, Laura eventually conceded that these methods did not seem to make a lot of sense or were too specialized to be of any use for the majority of the HttpClient users. http://marc.theaimsgroup.com/?l=httpclient-commons-devm=104577672115772w=2 I do think that releasing HttpClient with stuff

[VOTE] Re: 2.0 release

2003-06-26 Thread Adrian Sutton
All, Personally, I believe that this issue has gone on far too long and so I would like to propose a vote: I move the motion that the following methods from org.apache.commons.httpclient.util.URIUtil be depreciated for the 2.0 release and removed in a future release:

Re: [VOTE] Re: 2.0 release

2003-06-26 Thread Ortwin Glück
+1 Adrian Sutton wrote: I move the motion that the following methods from org.apache.commons.httpclient.util.URIUtil be depreciated for the 2.0 release and removed in a future release: toDocumentCharset(String) toDocumentCharset(String, String) toProtocolCharset(String)

RE: [VOTE] Re: 2.0 release

2003-06-26 Thread Kalnichevski, Oleg
+1 -Original Message- From: Adrian Sutton [mailto:[EMAIL PROTECTED] Sent: Thu 6/26/2003 11:10 To: Commons HttpClient Project Cc: Subject:[VOTE] Re: 2.0 release All, Personally, I believe that this issue has gone on far too long and so I would like to propose a

Re: [VOTE] Re: 2.0 release - deprecate some methods?

2003-06-26 Thread Sung-Gu
-1 My vote... :D FYI, (it's from URI javadoc messages, I think they are related to your topic.) [snip] * The character set used to store files SHALL remain a local decision and * MAY depend on the capability of local operating systems. Prior to the * exchange of URIs they

Re: [VOTE] Re: 2.0 release - deprecate some methods?

2003-06-26 Thread Ortwin Glck
Sung-Gu wrote: I've made sample cases and posted it before. (even if it's not a normal junit testcase though.) And I'm not willing to make testcase for that. I'm not interested in unicode values... at all... Sung-Gu, I there are no test cases, how can we be sure these methods do what they are

Re: Poof!

2003-06-26 Thread Michael Becke
Hey Jeff, Welcome back! I'm glad that everything has worked out. Mike On Thursday, June 26, 2003, at 12:39 AM, Jandalf wrote: Hello all! My house has sold, I've moved to Calgary and I have a new job. All is well. I've been monitoring the list and have been taking care of the moderate

Re: [VOTE] Re: 2.0 release

2003-06-26 Thread Michael Becke
+1 On Thursday, June 26, 2003, at 05:10 AM, Adrian Sutton wrote: All, Personally, I believe that this issue has gone on far too long and so I would like to propose a vote: I move the motion that the following methods from org.apache.commons.httpclient.util.URIUtil be depreciated for the 2.0

Re: [VOTE] Re: 2.0 release - deprecate some methods? test case always certainly...?

2003-06-26 Thread Sung-Gu
- Original Message - From: Ortwin Glück [EMAIL PROTECTED] are supposed to do? I find it dangerous to have code that nobody Ok, Sorry, then as you wish, I'll change my vote +1. I hope you're happy... understands (except of you) without any test cases. Actually, I don't understand

Re: Client Auth / Certificates

2003-06-26 Thread secoskem
Ortwin - Correct. I have completed the code using javax.net.ssl.HttpsURLConnection (Creating a special keymanager (for my crypto framework), setting up the SSLContext, creating SSLSocketFactory, etc.) . I was just hoping that HttpClient had a Socket factory already written for this

RE: [VOTE] Re: 2.0 release - deprecate some methods? test case always certainly...?

2003-06-26 Thread Kalnichevski, Oleg
Actually, I don't understand that you might notice and you might wonder why there is encoding change menu in your web browser. and you can test it yourself though. Knock, knock. Hello, anybody home? Half a year ago, when this whole story started I tried to explain you one simple thing: in

Re: [VOTE] Re: 2.0 release

2003-06-26 Thread Eric Johnson
Adrian, +1 OK, my vote is non-binding, but with no test cases, and no code in HttpClient that uses the functions, we SHOULD deprecate them. Even if we decide later, as Sung-Gu suggested, that we might need to ressurrect them, we should still deprecate them! Deprecating them is a flag for

Re: [VOTE] Re: 2.0 release - deprecate some methods?

2003-06-26 Thread Sung-Gu
- Original Message - From: Adrian Sutton [EMAIL PROTECTED] If you don't know why the code would be useful or what it was implemented based upon, why is it that you still want it in HttpClient? There is nothing that uses those methods anywhere in HttpClient and the presence of an

Re: [VOTE] Re: 2.0 release - current vote result!

2003-06-26 Thread Sung-Gu
- Original Message - From: Eric Johnson [EMAIL PROTECTED] Even if we decide later, as Sung-Gu suggested, that we might need to ressurrect them, we should still deprecate them! Deprecating them is a Done. Sung-Gu

Re: [VOTE] Re: 2.0 release - deprecate some methods?

2003-06-26 Thread Jandalf
+1 As these methods are not used by HttpClient and do not appear useful for httpclient for httpclient users combined with the reality that they do not appear correct and the pending desire to start a Commons-URI project indicates that they should not be in the public interface of HttpClient.

Re: [VOTE] Re: 2.0 release - deprecate some methods?

2003-06-26 Thread Laura Werner
Adrian Sutton wrote: The flaw in the toUsingCharset method is two-fold: Firstly, Strings in Java are *always* stored internally as UTF-8 I agree with the rest of your analysis of this, but I thought I should point out that Java Strings and chars are stored in UTF-16 rather than UTF-8. A char

Re: 2.0 release - looking to the future

2003-06-26 Thread Eric Johnson
Mike, Thanks for starting this discussion. I've been contemplating this one for a while. My development approach follows along the lines of revolution through evolution. Which means, with respect to HttpClient, that on the one hand I don't want to encourage too many fundamental changes for

Where to post

2003-06-26 Thread Nate
Sorry if this is the wrong place to ask this question, but where is the proper place to post user questions about HttpClient? Couldn't find a user mailing list. --Nathan McMinn - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: 2.0 release - looking to the future

2003-06-26 Thread Kalnichevski, Oleg
Eric, Fantastic proposal that I whole-heartedly support. Let me present my own more condensed version with a few omissions (that are not critical at all) 2.1 release: - Better exception handling framework (bug #19868) - Cross-site redirect fix. Authentication, redirect retry code moved from

Re: [VOTE] Re: 2.0 release - URI charset transformation HOW-TO

2003-06-26 Thread Sung-Gu
Adrian, I attached the title like the above. ;) Please see some comment the below step 1-0 and 1-1. Hope to be helpful for the furture, Sung-Gu - Original Message - From: Sung-Gu [EMAIL PROTECTED] To: Commons HttpClient Project [EMAIL PROTECTED] Sent: Thursday, June 26, 2003 10:39 PM

RE: Where to post

2003-06-26 Thread Kalnichevski, Oleg
Nathan, Please go ahead and post your questions here, as there's no separate HttpClient user mailing list. Oleg -Original Message- From: Nate [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 16:59 To: [EMAIL PROTECTED] Subject: Where to post Sorry if this is the wrong place to

Re: Client Auth / Certificates

2003-06-26 Thread Ortwin Glück
It sure would be useful however I am not sure if it is possible. I never used a standard JSSE implementation. We used SSLava in our projects (because it's supposed to be faster) and SSLava is does not have a JSSE interface. So I wrote a SSLSocketFactory that configured SSLava to use a specific

Re: [VOTE] Re: 2.0 release - deprecate some methods? test casealways certainly...?

2003-06-26 Thread Ortwin Glück
Sung-Gu wrote: But, not a duty... it's voluteering... no pay... even the code constribution here... I pay you $5 for test cases from my Paypal account. Promise. :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Where to post

2003-06-26 Thread Nate
Thank you. It's kind of an http newbie question, but here it is. I create a PostMethod object, and use it to post data to a site's login page. The login page redirects to another page within the site. When that redirect is sent, I get the following message: Jun 26, 2003 1:48:21 PM

Re: Where to post

2003-06-26 Thread Laura Werner
Hi Nate, Jun 26, 2003 1:48:21 PM org.apache.commons.httpclient.HttpMethodBase processRedirectResponse INFO: Redirect requested but followRedirects is disabled ... I can just create a GetMethod and give it the url that would be redirected to, but how to get rid of that error message. Any

Re: Where to post

2003-06-26 Thread Nate
Perfect. Thanks. - Original Message - From: Laura Werner [EMAIL PROTECTED] To: Commons HttpClient Project [EMAIL PROTECTED] Sent: Thursday, June 26, 2003 2:47 PM Subject: Re: Where to post Hi Nate, Jun 26, 2003 1:48:21 PM org.apache.commons.httpclient.HttpMethodBase

Re: [VOTE] Re: 2.0 release - deprecate some methods?

2003-06-26 Thread André-John Mas
This doesn't look correct, if you are really wanting to convert from one charset to another then you would have to do something such as: String myString = new String(bytes,bytesCharset); byte[] bytes2 = myString.getBytes(destCharset); Until you have the bytes, you don't have the final

DO NOT REPLY [Bug 21130] New: -

2003-06-26 Thread bugzilla
Make MultiThreadedHttpConnectionManager defaults public statics. DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21130. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND

DO NOT REPLY [Bug 21130] -

2003-06-26 Thread bugzilla
Make MultiThreadedHttpConnectionManager defaults public statics. DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21130. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND

Re: [VOTE] Re: 2.0 release - deprecate some methods?

2003-06-26 Thread secoskem
I just got through Internationalizing a website... input and output. I ran into the exact same issues, and as Andre states, you pretty much need to check everywhere for byte[] -String and String-byte[]. Then do the conversions he's given. I personally liked the more terse: byte[]

Re: Client Auth / Certificates

2003-06-26 Thread secoskem
It is possible to create a standard JSSE impl, but only for 1.4 JDK. In previous JDK's the required classes were of the com.sun.net.ssl variety, which of course is ugly. There is no cross-vm solution for JDKs prior to 1.4 that I am aware of. - Matt Secoske Ortwin Glück [EMAIL

Re: [VOTE] Re: 2.0 release - deprecate some methods?

2003-06-26 Thread Oleg Kalnichevski
On Thu, 2003-06-26 at 23:40, [EMAIL PROTECTED] wrote: I just got through Internationalizing a website... input and output. I ran into the exact same issues, and as Andre states, you pretty much need to check everywhere for byte[] -String and String-byte[]. Matt, we actually do. We do have

Cookie

2003-06-26 Thread Zulfi Umrani
Does any one know how can I manage cookies without having to get the cookies from HttpState and setting it back everytime I make a request? Is there an automatic way to handle cookies? Alternatively, how do I put a cookie header on PostMethod? I have string representation of the cookie, I would

RE: Cookie

2003-06-26 Thread Amit Rana
Is there an automatic way to handle cookies? According to whatever less I know about HttpClient, this is the default behavior. Cookies are handled automatically. If you put the logging on as given on the link http://jakarta.apache.org/commons/httpclient/logging.html you will see some entries like

DO NOT REPLY [Bug 21130] - Make MultiThreadedHttpConnectionManager defaults public statics.

2003-06-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21130. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

RE: Cookie

2003-06-26 Thread Zulfi Umrani
I enable the logging for info, but did not get any message on the console. And the cookies still are not handled automatically. [EMAIL PROTECTED] 6/26/2003 9:17:57 PM Is there an automatic way to handle cookies? According to whatever less I know about HttpClient, this is the default behavior.

Re: [VOTE] Re: 2.0 release - deprecate some methods?

2003-06-26 Thread André-John Mas
This doesn't look correct, if you are really wanting to convert from one charset to another then you would have to do something such as: String myString = new String(bytes,bytesCharset); byte[] bytes2 = myString.getBytes(destCharset); Until you have the bytes, you don't have the final

DO NOT REPLY [Bug 21130] - Make MultiThreadedHttpConnectionManager defaults public statics.

2003-06-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21130. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: Cookie

2003-06-26 Thread Michael Becke
To see the network traffic you will need to enable the wire log. Take a look at http://jakarta.apache.org/commons/httpclient/logging.html for details. HttpClient handles cookies by default. For more details please see http://jakarta.apache.org/commons/httpclient/cookies.html. If the cookie