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 sami1 <sa...@gmail.com> on 2009/06/29 06:30:39 UTC

I am gettitng 404 for existing sites!

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