Return-Path: Mailing-List: contact commons-httpclient-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-httpclient-dev@jakarta.apache.org Received: (qmail 54350 invoked from network); 1 Aug 2003 14:24:23 -0000 Received: from av1.mm.cineca.it (130.186.10.238) by daedalus.apache.org with SMTP; 1 Aug 2003 14:24:23 -0000 Received: from cineca.mm.cineca.it (cineca.mm.cineca.it [130.186.10.200]) by av1.mm.cineca.it (Postfix) with ESMTP id 5336816D299 for ; Fri, 1 Aug 2003 16:24:24 +0200 (CEST) Received: from libero.it (dhcp7-200.cineca.it [130.186.7.200]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) as user f.capannini@cineca.it by cineca.mm.cineca.it (Postfix) with ESMTP id 4A55B1A902E for ; Fri, 1 Aug 2003 16:24:24 +0200 (MEST) Message-ID: <3F2A7854.4070903@libero.it> Date: Fri, 01 Aug 2003 16:25:24 +0200 From: "linea@libero.it" User-Agent: Mozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Commons HttpClient Project Subject: Re: Fw: unable to find line starting with "HTTP" error References: <95893B02-C423-11D7-9F67-000393016056@intencha.com> In-Reply-To: <95893B02-C423-11D7-9F67-000393016056@intencha.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Spin SafeMail X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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(500); // Activate optional body check which actually fixed the problem.. ..until http://www.computerhistory.org broke into my life..! Anyway, as the problem lies in the bad behaviour of the server, I'll let it down, and happily leave on holiday.. Thanks again..