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: [email protected]
For additional commands, e-mail: [email protected]