You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2014/01/25 12:30:58 UTC

svn commit: r1561284 - in /httpcomponents/httpclient-android/branches/test-branch/src/main: java/org/apache/http/impl/client/ resources/ resources/org/ resources/org/apache/ resources/org/apache/http/ resources/org/apache/http/client/

Author: olegk
Date: Sat Jan 25 11:30:57 2014
New Revision: 1561284

URL: http://svn.apache.org/r1561284
Log:
Updated default User-Agent

Added:
    httpcomponents/httpclient-android/branches/test-branch/src/main/resources/
    httpcomponents/httpclient-android/branches/test-branch/src/main/resources/org/
    httpcomponents/httpclient-android/branches/test-branch/src/main/resources/org/apache/
    httpcomponents/httpclient-android/branches/test-branch/src/main/resources/org/apache/http/
    httpcomponents/httpclient-android/branches/test-branch/src/main/resources/org/apache/http/client/
    httpcomponents/httpclient-android/branches/test-branch/src/main/resources/org/apache/http/client/version.properties   (with props)
Modified:
    httpcomponents/httpclient-android/branches/test-branch/src/main/java/org/apache/http/impl/client/HttpClientBuilder.java

Modified: httpcomponents/httpclient-android/branches/test-branch/src/main/java/org/apache/http/impl/client/HttpClientBuilder.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient-android/branches/test-branch/src/main/java/org/apache/http/impl/client/HttpClientBuilder.java?rev=1561284&r1=1561283&r2=1561284&view=diff
==============================================================================
--- httpcomponents/httpclient-android/branches/test-branch/src/main/java/org/apache/http/impl/client/HttpClientBuilder.java (original)
+++ httpcomponents/httpclient-android/branches/test-branch/src/main/java/org/apache/http/impl/client/HttpClientBuilder.java Sat Jan 25 11:30:57 2014
@@ -203,7 +203,7 @@ public class HttpClientBuilder {
                 ("org.apache.http.client", HttpClientBuilder.class.getClassLoader());
         final String release = (vi != null) ?
                 vi.getRelease() : VersionInfoHC4.UNAVAILABLE;
-        DEFAULT_USER_AGENT = "Apache-HttpClient/" + release + " (java 1.5)";
+        DEFAULT_USER_AGENT = "Apache-HttpClient/" + release + " (android)";
     }
 
     public static HttpClientBuilder create() {

Added: httpcomponents/httpclient-android/branches/test-branch/src/main/resources/org/apache/http/client/version.properties
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient-android/branches/test-branch/src/main/resources/org/apache/http/client/version.properties?rev=1561284&view=auto
==============================================================================
--- httpcomponents/httpclient-android/branches/test-branch/src/main/resources/org/apache/http/client/version.properties (added)
+++ httpcomponents/httpclient-android/branches/test-branch/src/main/resources/org/apache/http/client/version.properties Sat Jan 25 11:30:57 2014
@@ -0,0 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.    
+#
+info.module    = HttpClient-Android
+info.release   = 4.3.1

Propchange: httpcomponents/httpclient-android/branches/test-branch/src/main/resources/org/apache/http/client/version.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: httpcomponents/httpclient-android/branches/test-branch/src/main/resources/org/apache/http/client/version.properties
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: httpcomponents/httpclient-android/branches/test-branch/src/main/resources/org/apache/http/client/version.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain