Hi,
thank you very much for the help..
Actually I always try sending a HEAD request first, and then skip to GET
in case of failure.
I have already dealt with the problem of servers sending Body even in
response to a HEAD request: Oleg adviced me to add the statement
httphead.setBodyCheckTimeout(5
Forget my remark. I took the wrong URL. Stupid me.
Oleg
On Fri, 2003-08-01 at 15:28, Oleg Kalnichevski wrote:
> Hmmm. It seems to work just fine. What is it exactly that you are doing?
> Here's the code that works for me:
>
> import org.apache.commons.httpclient.*;
> import org.apache.commons.h
Hmmm. It seems to work just fine. What is it exactly that you are doing?
Here's the code that works for me:
import org.apache.commons.httpclient.*;
import org.apache.commons.httpclient.methods.*;
public class Test {
public static void main(String args[]) throws Exception {
HttpClient httpcli
On Friday, August 1, 2003, at 11:04 PM, [EMAIL PROTECTED] wrote:
I tried sending a GET request but I catch always the same error
"unable to find line starting with "HTTP".
thanks again..
Hi,
The server is not responding with a valid HTTP response as it doesn't
include a status line. Even wget c
I tried sending a GET request but I catch always the same error
"unable to find line starting with "HTTP".
thanks again..
3620 DEBUG [Thread-1] httpclient.HttpConnection - enter
HttpConnection.open()
3803 DEBUG [Thread-1] httpclient.HttpMethodBase - enter
HttpMethodBase.execute(HttpState, Ht
OK, once more without the huge log.
- Forwarded by Roland Weber/Germany/IBM on 01.08.2003 12:54 -
Roland Weber
01.08.2003 12:52
To: "Commons HttpClient Project"
<[EMAIL PROTECTED]>
cc:
From: Roland Weber/Germany/[EMAIL PROTECTED]
Subject:R