Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 48915 invoked from network); 3 Feb 2007 07:23:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Feb 2007 07:22:59 -0000 Received: (qmail 83666 invoked by uid 500); 3 Feb 2007 07:23:01 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 83118 invoked by uid 500); 3 Feb 2007 07:22:59 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 83107 invoked by uid 99); 3 Feb 2007 07:22:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 23:22:59 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [64.62.157.165] (HELO expiron.wiredhat.com) (64.62.157.165) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 23:22:45 -0800 Received: from [59.95.27.66] (port=1794 helo=KedarsHP) by expiron.wiredhat.com with esmtp (Exim 4.63) (envelope-from ) id 1HDFE5-0002Tu-JH for commons-user@jakarta.apache.org; Fri, 02 Feb 2007 23:22:22 -0800 From: "Kedar Panse" To: "Jakarta Commons Users List" Subject: [HTTPClient] Header parser Date: Sat, 3 Feb 2007 12:52:04 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0010_01C74792.24DE8A70" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcdHZADDBzvzCx2CQd2Hom0IM+yxUA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - expiron.wiredhat.com X-AntiAbuse: Original Domain - jakarta.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - bancbridge.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked by ClamAV on apache.org Message-Id: <20070203072252.445BA10FB021@herse.apache.org> ------=_NextPart_000_0010_01C74792.24DE8A70 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello guys! I have been using HTTPClient for quite a while, thanks to you guys work! Recently I came across a site, which I believe is returning bad headers. HTTPClient seems to choke on Set-Cookie: user-cookie=xxxx; path=/; domain=.xxx.com; secure HTTP/1.0 200 content-type: text/html Exception I get is: WARNING: org.apache.commons.httpclient.ProtocolException: Unable to parse header: HTTP/1.0 200 Is this a valid header for cookie? Firefox/IE seem to get past it easy. Is there any way to get around this? Regards, Kedar ------=_NextPart_000_0010_01C74792.24DE8A70--