Author: dkulp Date: Thu Mar 28 16:09:38 2013 New Revision: 1462185 URL: http://svn.apache.org/r1462185 Log: Merged revisions 1458783 via git cherry-pick from https://svn.apache.org/repos/asf/cxf/branches/2.6.x-fixes
........ r1458783 | ningjiang | 2013-03-20 08:16:32 -0400 (Wed, 20 Mar 2013) | 16 lines Merged revisions 1458781 via svnmerge from https://svn.apache.org/repos/asf/cxf/branches/2.7.x-fixes ................ r1458781 | ningjiang | 2013-03-20 20:12:58 +0800 (Wed, 20 Mar 2013) | 9 lines Merged revisions 1458773 via svnmerge from https://svn.apache.org/repos/asf/cxf/trunk ........ r1458773 | ningjiang | 2013-03-20 19:42:05 +0800 (Wed, 20 Mar 2013) | 1 line CXF-4906 fixed the typo with thanks to Aki ........ ................ ........ Modified: cxf/branches/2.5.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Headers.java Modified: cxf/branches/2.5.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Headers.java URL: http://svn.apache.org/viewvc/cxf/branches/2.5.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Headers.java?rev=1462185&r1=1462184&r2=1462185&view=diff ============================================================================== --- cxf/branches/2.5.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Headers.java (original) +++ cxf/branches/2.5.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Headers.java Thu Mar 28 16:09:38 2013 @@ -312,7 +312,7 @@ public class Headers { } } // make sure we don't add more than one User-Agent header - if (connection.getRequestProperty("User-Agent") != null) { + if (connection.getRequestProperty("User-Agent") == null) { connection.addRequestProperty("User-Agent", Version.getCompleteVersionString()); } }
