Return-Path: Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: (qmail 84360 invoked from network); 15 Jun 2010 13:02:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Jun 2010 13:02:49 -0000 Received: (qmail 16596 invoked by uid 500); 15 Jun 2010 13:02:48 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 16399 invoked by uid 500); 15 Jun 2010 13:02:46 -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 16391 invoked by uid 99); 15 Jun 2010 13:02:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jun 2010 13:02:46 +0000 X-ASF-Spam-Status: No, hits=0.3 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; Tue, 15 Jun 2010 13:02:38 +0000 Received: from [192.168.100.100] (unknown [213.55.131.182]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 685FD4BA261 for ; Tue, 15 Jun 2010 15:02:16 +0200 (CEST) Subject: Re: how to use HttoCore 4.0.1 directly instead of httpclient 4.0.1 From: Oleg Kalnichevski To: HttpClient User Discussion In-Reply-To: <28887590.post@talk.nabble.com> References: <28887590.post@talk.nabble.com> Content-Type: text/plain; charset="UTF-8" Date: Tue, 15 Jun 2010 15:02:12 +0200 Message-ID: <1276606932.30082.37.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit On Mon, 2010-06-14 at 23:19 -0700, Udit Bhatnagar wrote: > Hi, > > I am using httpclient4.x in my code for GET request, as I am upgrading > httpclient3.x to httpclient4.x in my project. > The domain name of the requested URI contains some Invalid Character as '_', > so Httpclient4.x is not lenient with this domain name and giving me error > "Http host can not be null" but this URI is allowed with Httpclient 3.x. > Some where I come to know that this issue can be solved if I do use > httpcore4.0.1 directly. > So I want to know that Hoe can i use the httpcore4.0.1 directly instead of > httpclient 4.0.1 for get request. http://hc.apache.org/httpcomponents-core-4.0.1/tutorial/html/ > Sample regarding this issue are most appreciated. > http://hc.apache.org/httpcomponents-core-4.0.1/examples.html --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org For additional commands, e-mail: httpclient-users-help@hc.apache.org