Return-Path: Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: (qmail 22886 invoked from network); 23 Apr 2010 10:15:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Apr 2010 10:15:52 -0000 Received: (qmail 28660 invoked by uid 500); 23 Apr 2010 10:15:51 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 28577 invoked by uid 500); 23 Apr 2010 10:15:49 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 28568 invoked by uid 99); 23 Apr 2010 10:15:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Apr 2010 10:15:48 +0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=AWL,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [92.42.190.144] (HELO ok2cons2.nine.ch) (92.42.190.144) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Apr 2010 10:15:40 +0000 Received: from [192.168.1.102] (178-83-227-183.dclient.hispeed.ch [178.83.227.183]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 4B2124BA2A2 for ; Fri, 23 Apr 2010 12:15:19 +0200 (CEST) Subject: Re: Handling Redirects automatically in HttpClient4.0.1 From: Oleg Kalnichevski To: HttpClient User Discussion In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Fri, 23 Apr 2010 12:15:18 +0200 Message-ID: <1272017718.2382.2.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit On Fri, 2010-04-23 at 15:02 +0530, Phani Sajja wrote: > Hi all, > I am using HttpClient version 4.0.1. When I execute a method on a > link I am getting error 302 saying HTTP/1.0 302 Moved Temporarily. How to > handle redirects automatically so that I can get the final page. Help me > please! > Generate a wire log of the HTTP session that exhibits the problem, as described below, and post the log to this list: http://hc.apache.org/httpcomponents-client-4.0.1/logging.html Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org For additional commands, e-mail: httpclient-users-help@hc.apache.org