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 http://jakarta.apache.org/commons/httpclient/logging.html Oleg On Thu, 2003-03-13 at 22:02, [EMAIL PROTECTED] wrote: > 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/" > at > org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1668) > at > org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2322) > at > org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:915) > at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:557) > at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:474) > at > com.verizon.wbtt.components.validator.BMEXTest.main(BMEXTest.java:30) > Exception in thread "main" > > The response is empty. > I tried the same post by writnng my own socket program and it works fine. > > Couls anyone pls shed light on this. > > Thanks > Vikram > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
