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] [Resolved] (HTTPCLIENT-1261) Make SystemDefaultHttpClient honor http.agent system property
Date Tue, 11 Dec 2012 13:37:21 GMT

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oleg Kalnichevski resolved HTTPCLIENT-1261.
-------------------------------------------

    Resolution: Fixed

Mike,
SystemDefaultHttpClient is deprecated in 4.3 in favor of HttpClientBuilder which supports
'http.agent' when configured to use system properties. Could you please take a look at the
SVN trunk and let me know if the new APIs resolve the issue to your satisfaction.

Oleg
                
> Make SystemDefaultHttpClient honor http.agent system property
> -------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1261
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1261
>             Project: HttpComponents HttpClient
>          Issue Type: New Feature
>          Components: HttpClient
>         Environment: Any
>            Reporter: Mike Boyers
>             Fix For: 4.3 Alpha1
>
>
> http.agent can be set as a system property to override a user agent string but is not
currently noticed by SystemDefaultHttpClient, it just continues to use its default.
> The native java http implementation (URLConnection) does honor this system property.
> Can SystemDefaultHttpClient be enhanced to honor this?
> Thanks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message