Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 78085 invoked from network); 9 Nov 2007 09:17:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Nov 2007 09:17:57 -0000 Received: (qmail 80680 invoked by uid 500); 9 Nov 2007 09:17:44 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 80669 invoked by uid 500); 9 Nov 2007 09:17:44 -0000 Mailing-List: contact httpclient-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: "HttpClient User Discussion" Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-user@jakarta.apache.org Received: (qmail 80658 invoked by uid 99); 9 Nov 2007 09:17:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 01:17:44 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [62.179.121.48] (HELO viefep28-int.chello.at) (62.179.121.48) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 09:18:24 +0000 Received: from [192.168.0.63] (really [212.71.105.68]) by viefep28-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20071109091725.XNGO11703.viefep28-int.chello.at@[192.168.0.63]> for ; Fri, 9 Nov 2007 10:17:25 +0100 Subject: Re: https and aspx From: Oleg Kalnichevski To: HttpClient User Discussion In-Reply-To: <13655550.post@talk.nabble.com> References: <13655550.post@talk.nabble.com> Content-Type: text/plain Date: Fri, 09 Nov 2007 10:17:24 +0100 Message-Id: <1194599844.12899.8.camel@okhost> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Thu, 2007-11-08 at 12:51 -0800, ggcampbell wrote: > I have been trying to login into a variety of ASPX sites. > I am able to establish the https connections because I can retrieve the > login page from https. > But the form submission does not seem to work. The sites do not respond > with the page after > login. > I can log into the site with firefox or IE. > Same here. Capture HTTP requests generated by the browser using a traffic analyzer or a proxy, customize HttpClient to generate identical (compatible) requests. > Strangely, if I retreive the cookies for firefox or IE and the send them to > the web address > I get back the page as if httpclient had logged in. > > I wonder if the form encoding is sending the proper format. > > On a separate issue I found that the cookies needed to be encode like: > Cookie: a=b; c=d; e=f > but > Cookie: a=b > Cookie: c=d > Failed > > Any ideas? Use 'http.protocol.single-cookie-header' parameter to force all cookies into one request header. http://jakarta.apache.org/httpcomponents/httpclient-3.x/cookies.html Hope this helps Oleg > I wonder if someone knows an aspx site which would just bounce > back the > form submission elements from an https POST. > > Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-user-help@jakarta.apache.org