[
https://issues.apache.org/jira/browse/HTTPCLIENT-857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725647#action_12725647
]
Sami Ben Romdhane commented on HTTPCLIENT-857:
----------------------------------------------
Oleg,
Sorry If I got carried away and vented a little bit out of frustration. I
apologize. Our point for using HtttpClient and not use UrlConnection was not to
worry with all the details so we were surprised when we had these problems (we
also had a lot of redirection porblems where we are getting
invalidRedirectionException). So it seems that we have to deal with the reality
and spend more unplanned time to get our code working correctly. Again I
apologize.
Thanks
Sami
Sebb, I just used the code snippet in the bug desc to test and it does not
work, and yes it worked with a lot of different sites
Thanks guys for your time, I will spend more time on this today
> some sites return 404 status code even though they are accessible by all
> browsers
> ---------------------------------------------------------------------------------
>
> Key: HTTPCLIENT-857
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-857
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient
> Affects Versions: 3.1 Final
> Environment: Windows Vista, jdk 1.6 no proxy, no firewall HttpClient
> 3.1 Final, did not try with 4.0
> Reporter: Sami Ben Romdhane
>
> very simple use case
> HttpClientParams params=new HttpClientParams();
> params.setSoTimeout(10000);
>
> HttpClient client=new HttpClient(params);
> GetMethod get=new GetMethod();
> get.setPath(url);
> int code= client.executeMethod(get);
> here are just a few of the sites that would return a code of 404
> http://www.blogattitudes.com
> http://www.stocktwits.net/
> http://twatweet.com/
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]