hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sami1 <sami.ben.romdh...@gmail.com>
Subject I am gettitng 404 for existing sites!
Date Mon, 29 Jun 2009 04:30:39 GMT

HI There, I am not behind a firewal no proxies..etc doing this

	 HttpClient client=new HttpClient();
        GetMethod get=new GetMethod();
        get.setPath(url);
        int code= client.executeMethod(get);
        System.out.println(code);

I have at least 2 urls that retrun 404 from HttpClient but work fine on the
browser
http://www.stocktwits.net/ and http://www.blogattitudes.com. I tried
changing the user-agent and differeent other things, still getting 404
through HttpClient

any help will be appreciated. 
Thanks
-- 
View this message in context: http://www.nabble.com/I-am-gettitng-404-for-existing-sites%21-tp24248250p24248250.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


Mime
View raw message