« Return to Thread: [jira] Created: (HTTPCLIENT-857) some sites return 404 status code even though they are accessible by all browsers

[jira] Commented: (HTTPCLIENT-857) some sites return 404 status code even though they are accessible by all browsers

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View in Thread


    [ https://issues.apache.org/jira/browse/HTTPCLIENT-857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725627#action_12725627 ]

Sami Ben Romdhane commented on HTTPCLIENT-857:
----------------------------------------------

Oleg, we are using Httpclient , and statistically 5 to 10% of the sites we're acessing return 404. Since the browser is able to access them and even with user agent string of popular browsers, Httpclient is getting 404l, then it becomes  an HttpClient issue and should be an HttpClient issue and not mine to resolve by contacting hundreds of web sites and begging them to work with HttpCLient. This is the wrong mindset for an open source project. So for me the resolution is: Stop using HttpClient!!! Thanks for your time

> 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: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

 « Return to Thread: [jira] Created: (HTTPCLIENT-857) some sites return 404 status code even though they are accessible by all browsers