hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HTTPCLIENT-857) some sites return 404 status code even though they are accessible by all browsers
Date Tue, 30 Jun 2009 14:11:47 GMT

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

Oleg Kalnichevski commented on HTTPCLIENT-857:

Go ahead and switch to another HTTP client implementation for all I care. Though, this will
not free you from having to deal with badly written web sites optimized for a specific set
of browsers that behave differently based on the value of the User-Agent header.

Open-source is not for off-loading your job responsibilities to other people.


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

View raw message