Re: problem with post

2003-03-16 Thread Oleg Kalnichevski
Vikram, I have to tell I find it extremely frustrating that I have to ask the same questions over and over again. - What kind of web server are you posting requests to? - Are you sure your web server supports HTTP/1.1? - Have you tried using HTTP/1.0 to post requests? What I can learn from the w

Re: problem with post

2003-03-14 Thread vikram . x . kondadasula
ns HttpClient Project" <[EMAIL PROTECTED]> cc: Subject:Re: problem with post You want to call setUseExpectHeader(false) on the post method. Mike On Friday, March 14, 2003, at 06:35 PM, [EMAIL PROTECTED] wrote: > > Hai, > > I did get in the latest code.The wire l

Re: problem with post

2003-03-14 Thread Michael Becke
>> ">" [DEBUG] wire - -<< " [WARN] HttpMethod - -Recoverable exception caught when reading response org.apache.commons.httpclient.HttpRecoverableException: org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the status line from the response: u

RE: problem with post

2003-03-14 Thread vikram . x . kondadasula
wire - ->> "}[\r][\n]" [DEBUG] wire - ->> "}[\r][\n]" [DEBUG] wire - ->> "}%[\r][\n]" [DEBUG] wire - ->> ">" [DEBUG] wire - -<< " [WARN] HttpMethod - -Recoverable exception caught when reading response org.apache.commons.httpclient.HttpR

Re: [INPUT NEEDED] RE: problem with post

2003-03-14 Thread Michael Becke
e Vikram found himself in Folks, what do you think? Shall we disable 'expect: 100-continue' handshake per default? Oleg -Original Message- From: Aurelien Pernoud [mailto:[EMAIL PROTECTED] Sent: Freitag, 14. März 2003 17:10 To: 'Commons HttpClient Project' Subject: R

RE: [INPUT NEEDED] RE: problem with post

2003-03-14 Thread Aurelien Pernoud
Yes, but the LOG.trace("enter HttpConnection.responseAvaliable()"); which had a typo isn't anymore in cvs (it has been removed from httpconnection here :

[INPUT NEEDED] RE: problem with post

2003-03-14 Thread Kalnichevski, Oleg
ge- From: Aurelien Pernoud [mailto:[EMAIL PROTECTED] Sent: Freitag, 14. März 2003 17:10 To: 'Commons HttpClient Project' Subject: RE: problem with post I think he's using the 2.0a3 release, and not cvs, and there the Expect: 100-continue was buggy... I say that cause I h

RE: problem with post

2003-03-14 Thread Aurelien Pernoud
I think he's using the 2.0a3 release, and not cvs, and there the Expect: 100-continue was buggy... I say that cause I had the exact same log with tomcat 4 and 2.0a3 Kalnichevski, Oleg a écrit : > Vikram > Now it is clear as day light, that the web server you are > posting requests to does not s

RE: problem with post

2003-03-14 Thread Kalnichevski, Oleg
st to work the problem around Cheers Oleg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Freitag, 14. März 2003 16:37 To: Commons HttpClient Project Subject: RE: problem with post Hai, Thanks Tom for pointing out that. Here is my wire log [DEBUG] wire - ->&

RE: problem with post

2003-03-14 Thread vikram . x . kondadasula
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:578) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:477) at com.verizon.wbtt.components.validator.BMEXTest.main(BMEXTest.java:38) Exception in thread "main" Thanks Vikram

RE: problem with post

2003-03-14 Thread Kalnichevski, Oleg
Tom Thanks for pointing it out Cheers Oleg -Original Message- From: Tom Samplonius [mailto:[EMAIL PROTECTED] Sent: Freitag, 14. März 2003 08:06 To: Commons HttpClient Project Subject: RE: problem with post On Thu, 13 Mar 2003 [EMAIL PROTECTED] wrote: > System.setPrope

RE: problem with post

2003-03-14 Thread Tom Samplonius
On Thu, 13 Mar 2003 [EMAIL PROTECTED] wrote: > System.setProperty( > "org.apache.commons.logging.simplelog.log.httpclient.wire ", "debug"); I had this problem too. You copied this right off the website, didn't you? Well, there is an extra space after ".wire" that prevents this from doing any

RE: problem with post

2003-03-13 Thread Oleg Kalnichevski
n - -Waiting for response timeout > [DEBUG] HttpMethod - -Response not available. Send the request body > [TRACE] HttpMethod - -enter writeRemainingRequestBody(HttpState, > HttpConnection) > [TRACE] EntityEnclosingMethod - -enter > EntityEnclosingMethod.writeRequestBody(HttpState, Http

RE: problem with post

2003-03-13 Thread vikram . x . kondadasula
Parser - -enter HttpConnection.readLine() [TRACE] HttpParser - -enter HttpConnection.readRawLine() "Adrian Sutton" <[EMAIL PROTECTED]> on 03/13/2003 06:05:03 PM Please respond to "Commons HttpClient Project" <[EMAIL PROTECTED]> To: "'Commons HttpCl

RE: problem with post

2003-03-13 Thread Adrian Sutton
difficult cases). Hope that helps, Adrian Sutton, Software Engineer Ephox Corporation www.ephox.com -Original Message- From: Oleg Kalnichevski [mailto:[EMAIL PROTECTED] Sent: Friday, 14 March 2003 7:48 AM To: Commons HttpClient Project Subject: Re: problem with post Vikram 2.0 ha

Re: problem with post

2003-03-13 Thread Oleg Kalnichevski
e.commons.httpclient.HttpClient.executeMethod(HttpClient.java:474) > at > com.verizon.wbtt.components.validator.BMEXTest.main(BMEXTest.java:38) > Exception in thread "main" > > > Thanks > Vikram > > > > > "Oleg Kalnichevski" <[EMAIL

Re: problem with post

2003-03-13 Thread vikram . x . kondadasula
ttpClient Project" <[EMAIL PROTECTED]> cc: Subject:Re: problem with post Vikram, What version of HttpClient are you using? Are you by any chance posing requests through a proxy? We'll be able to help if we know a bit more. You'll need to produce wire log of HTTP

Re: problem with post

2003-03-13 Thread Oleg Kalnichevski
Vikram, What version of HttpClient are you using? Are you by any chance posing requests through a proxy? We'll be able to help if we know a bit more. You'll need to produce wire log of HTTP session that causes that exception. Please refer to this document for details on logging in HttpClient h

problem with post

2003-03-13 Thread vikram . x . kondadasula
Hai, I am trying to execute a post using httpclient and this the message , I get org.apache.commons.httpclient.HttpRecoverableException: org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the status line from the response: unable to find line starting with "HTTP/" a

Re: Problem with Post

2003-02-10 Thread Jeffrey Dever
The documentation on the website is for the latest code in cvs head. You can use addParameter(name, value) insetad for now. There are other reasons this code won't compile too ... Tom Samplonius wrote: I'm having what is likely a simple problem posting. Code snippet: ... NameValuePair user

Problem with Post

2003-02-10 Thread Tom Samplonius
I'm having what is likely a simple problem posting. Code snippet: ... NameValuePair userPass[]; userPass[0] = new NameValuePair("userName", "user"); userPass[1] = new NameValuePair("password", "pass"); PostMethod post = new PostMethod("http://localhost:8080/login";); post.setRequestBody(userP