You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Udit Bhatnagar <ub...@chambal.com> on 2010/06/15 08:19:51 UTC

how to use HttoCore 4.0.1 directly instead of httpclient 4.0.1

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.
Sample regarding this issue are most appreciated.

For more detail visit the post -
http://old.nabble.com/GET-request-using-httpclient4.0.1-to28830292.html
http://old.nabble.com/GET-request-using-httpclient4.0.1-to28830292.html 

Thank you.
-- 
View this message in context: http://old.nabble.com/how-to-use-HttoCore-4.0.1-directly-instead-of-httpclient-4.0.1-tp28887590p28887590.html
Sent from the HttpClient-User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Re: how to use HttoCore 4.0.1 directly instead of httpclient 4.0.1

Posted by Udit Bhatnagar <ub...@chambal.com>.
Hi,

Thanks!
I will go through the sample and tutorial. If I get some problem then I will
get back to you.
Thanks again.

regards-

Udit


olegk wrote:
> 
> 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
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/how-to-use-HttpCore-4.0.1-directly-instead-of-httpclient-4.0.1-tp28887590p28891157.html
Sent from the HttpClient-User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Re: how to use HttoCore 4.0.1 directly instead of httpclient 4.0.1

Posted by Oleg Kalnichevski <ol...@apache.org>.
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