Return-Path: X-Original-To: apmail-hc-httpclient-users-archive@www.apache.org Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C87514851 for ; Sun, 3 Jul 2011 11:44:20 +0000 (UTC) Received: (qmail 90227 invoked by uid 500); 3 Jul 2011 11:44:20 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 90164 invoked by uid 500); 3 Jul 2011 11:44:19 -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 90149 invoked by uid 99); 3 Jul 2011 11:44:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jul 2011 11:44:17 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of khiemu@googlemail.com designates 209.85.214.179 as permitted sender) Received: from [209.85.214.179] (HELO mail-iw0-f179.google.com) (209.85.214.179) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jul 2011 11:44:11 +0000 Received: by iwg8 with SMTP id 8so670864iwg.10 for ; Sun, 03 Jul 2011 04:43:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Le8SrlXHneSyqhtHlr7ksCV0LQYIuFR8FXJtGAN1WTw=; b=E5ZUAWkm1XsJCwHEZc9MQUqO9iOUc1IJGVpr/xAy7HBX56/DQ33vjyT/eei6yA/Ge0 1hVxeN9jzRZrJUIlwtEua/0lqs9N+PwKnzfledqqgT6+kVYpABI2FRPGlfDXoejJ/C6P r5xWu8PIys86J0gagU5yVloXSEuCBy+oKki2I= MIME-Version: 1.0 Received: by 10.231.28.72 with SMTP id l8mr4514263ibc.194.1309693430271; Sun, 03 Jul 2011 04:43:50 -0700 (PDT) Received: by 10.231.192.66 with HTTP; Sun, 3 Jul 2011 04:43:50 -0700 (PDT) In-Reply-To: <1309441473.17212.8.camel@ubuntu> References: <1309374628.11260.51.camel@ubuntu> <1309435557.17212.3.camel@ubuntu> <1309441473.17212.8.camel@ubuntu> Date: Sun, 3 Jul 2011 13:43:50 +0200 Message-ID: Subject: Re: double-slash in url causes circular redirect From: khiem nguyen To: HttpClient User Discussion Content-Type: multipart/alternative; boundary=0015176f0f02ad0fcc04a728c3c7 X-Virus-Checked: Checked by ClamAV on apache.org --0015176f0f02ad0fcc04a728c3c7 Content-Type: text/plain; charset=ISO-8859-1 i'll check it. thanx alot On Thu, Jun 30, 2011 at 3:44 PM, Oleg Kalnichevski wrote: > On Thu, 2011-06-30 at 14:52 +0200, khiem nguyen wrote: > > well, before they correct this on the server-side-configuration,i still > need > > to handle this as "tolerant" as possible, that means get the content of > the > > site just like telnet/wget or browser does. i want to make httpclient, > after > > eg. 2 times get redirected with an invalid uri, just user //path-whatever > > instead of trying to cut off to /path-whatever.. > > > > thanx > > > > > > RedirectStrategy is your friend. > > Oleg > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org > For additional commands, e-mail: httpclient-users-help@hc.apache.org > > --0015176f0f02ad0fcc04a728c3c7--