DO NOT REPLY [Bug 29377] - Cookies with names containing blanks or starting with $ should be rejected by RFC2109 spec only

2004-06-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 29383] - MultiThreadedConnectionManager Accounting Problems

2004-06-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 29383] - MultiThreadedConnectionManager Accounting Problems

2004-06-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 29383] - MultiThreadedConnectionManager Accounting Problems

2004-06-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 29383] - MultiThreadedConnectionManager Accounting Problems

2004-06-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 29383] New: - MultiThreadedConnectionManager should provide a shutdown

2004-06-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: Probem executing Query

2004-06-03 Thread Michael Becke
Hi Satya, setQueryString() assumes that the content is already URL encoded and it is then sent as part of the request line, i.e.: POST /path?QUERY_STRING HTTP/1.1 My guess is that you want to send the query string as part of the message body. You can do this with: mehod.setRequestBody(userMod

Probem executing Query

2004-06-03 Thread http-client
I am using the following code: HttpClient client = new HttpClient(connMgr); client.setHostConfiguration(hostConfig); PostMethod method = new PostMethod(tokenURL); method.setQueryString( userModel.getQueryString() ); client.executeMethod(method); byte[] responseBody = method.getResponseBody();

Re: Problem with https over proxy

2004-06-03 Thread Oleg Kalnichevski
Dave, You are not using HttpConnection class to establish connection with the target server, are you? Does you code look something like this? HttpConnection conn = new HttpConnection(...); conn.open(); HttpState httpstate = new HttpState(); GetMethod httpget = new GetMethod("https://www.whatever

Problem with https over proxy

2004-06-03 Thread Dave Seidel
We embed HttpClient in our product (SOAPscope), and some of our users have reported a problem accessing https URLs if they use a proxy server. I tried this, and can readily recreate the problem (I'm using Squid). I used TcpTrace to capture one of these requests, and compared it to the same reques

DO NOT REPLY [Bug 29377] - Cookies with names containing blanks or starting with $ should be rejected by RFC2109 spec only

2004-06-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 29377] - Cookies with names containing blanks or starting with $ should be rejected by RFC2109 spec only

2004-06-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 29377] New: - Cookies with names containing blanks or starting with $ should be rejected by RFC2109 spec only

2004-06-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: Suppressing stack dump in executeMethod()

2004-06-03 Thread Oleg Kalnichevski
Christopher, What makes you think that HttpClient dumps the stack? What I read from the stacks tells me that is was not HttpClient#executeMethod org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:529) > at xxx..xx.xx.run(Unknown Source) > Then, HttpCl

Suppressing stack dump in executeMethod()

2004-06-03 Thread Foran, Christopher
Title: Suppressing stack dump in executeMethod() I most likely should know how to find the answer to this question, but… I am doing SSL and when I use an incorrect password for the keystore it looks like somewhere in HttpClient.executeMethod() the stack dump is being printed..  In my appli

Re: HttpConnection and HttpState reuse problem

2004-06-03 Thread Michael Becke
Hi Himanshu, HttpClient intentionally does not give direct access to the connections used to execute methods. All connection management is handled by the HttpConnectionManagers and the HttpClient. As Roland mentioned, if you need custom connection management you should consider implementing an

HttpConnection and HttpState reuse problem

2004-06-03 Thread Michael Becke
Hi Himanshu, HttpClient intentionally does not give direct access to the connections used to execute methods. All connection management is handled by the HttpConnectionManagers and the HttpClient. As Roland mentioned, if you need custom connection management you should consider implementing an

Re: HttpConnection and HttpState reuse problem

2004-06-03 Thread Roland Weber
Hello Himanshu, you can create your own HttpState object and pass it to each method invocation. That should solve your first problem. Why don't you leave the connection re-use to the connection manager? For an application, it shouldn't matter at all whether it is the same or a different connectio

DO NOT REPLY [Bug 29306] - [CONTRIB] SSL authenticating protocol socket factory

2004-06-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

HttpConnection and HttpState reuse problem

2004-06-03 Thread Himanshu Thube
Hi In my class I need two connections to same host and different URL's. For connecting first time, I want to get the HttpState and HttpConnection. Later just execute the method using the same HttpConnection and HttpState. However from API I found, to get the state I need to execute the method w

Re: authenticate problem

2004-06-03 Thread Roland Weber
Hello Jing, null is the "default realm", where the HttpClient looks if there are no credentials for the specific realm, or if it doesn't know the realm because it performs preemptive authentication. Why the server accepts empty credentials is a different question. Probably a misconfiguration on t

Re: unable to find line starting with "HTTP"

2004-06-03 Thread Juan Pedro López Sáez
Thank you for your responses. Actually, I can't do anything in the server side because it's managed by an external service provider. I don't know what server are they running but I'll try to find it. I thought the problem was in the client side, but now I think I'll try to ask them to solve the