Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4F8DDD0A2 for ; Tue, 11 Dec 2012 13:37:25 +0000 (UTC) Received: (qmail 70455 invoked by uid 500); 11 Dec 2012 13:37:24 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 69676 invoked by uid 500); 11 Dec 2012 13:37:23 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 68887 invoked by uid 99); 11 Dec 2012 13:37:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Dec 2012 13:37:22 +0000 Date: Tue, 11 Dec 2012 13:37:21 +0000 (UTC) From: "Oleg Kalnichevski (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HTTPCLIENT-1261) Make SystemDefaultHttpClient honor http.agent system property MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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