Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 753EC6BD0 for ; Sun, 26 Jun 2011 13:12:43 +0000 (UTC) Received: (qmail 31153 invoked by uid 500); 26 Jun 2011 13:12:43 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 31092 invoked by uid 500); 26 Jun 2011 13:12:42 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 31084 invoked by uid 99); 26 Jun 2011 13:12:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jun 2011 13:12:41 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.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; Sun, 26 Jun 2011 13:12:34 +0000 Received: from [192.168.1.104] (77-57-197-206.dclient.hispeed.ch [77.57.197.206]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 71FA7245E440 for ; Sun, 26 Jun 2011 15:12:15 +0200 (CEST) Subject: Re: Fluent HttpClient From: Oleg Kalnichevski To: HttpComponents Project In-Reply-To: References: <1306996793.17908.151.camel@ubuntu> <1307457408.2948.50.camel@ubuntu> Content-Type: text/plain; charset="UTF-8" Date: Sun, 26 Jun 2011 15:11:30 +0200 Message-ID: <1309093890.29838.16.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Sun, 2011-06-26 at 03:09 +0300, Xu, Lilu wrote: > Hi Oleg, > > I tried my best to design an elegant interface of setting HTTP parameters. > But it seems quite hard to do so. Now I have almost done this part, please > have a look at it [1] and drop me some feedback. > The wiki seems to be off-line at the moment. I'll review the code in the coming few days and get back to you with detailed feedback by Wednesday next week the latest. > During the development of this part. There comes two questions: > > 1. How to remove all the protocol interceptors? > I tried removeRequestInterceptorByClass(HttpRequestInterceptor.class) but it > seems not work as I expected. > BasicHttpProcessor#clearInterceptors() should do the trick, should not it? > 2. Why the codes in tutorial 1.6.1 [2] output the parameters twice? The > output looks like this: > > > HTTP/1.1 > > UTF-8 > > false > > null > > HTTP/1.1 > > UTF-8 > > false > > null > I guess this is because of a redirect from www.google.com to a country specific site such as www.google.fi Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org