cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: [CXF-6772] Reporting browserType property as HTTP User-Agent header
Date Wed, 10 Feb 2016 11:17:57 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes caa0c696f -> 649b2e737


[CXF-6772] Reporting browserType property as HTTP User-Agent header


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/649b2e73
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/649b2e73
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/649b2e73

Branch: refs/heads/3.0.x-fixes
Commit: 649b2e7378cfa86f4d8c4de841c2eabc8c73036f
Parents: caa0c69
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Wed Feb 10 11:15:42 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Wed Feb 10 11:17:25 2016 +0000

----------------------------------------------------------------------
 .../http/src/main/java/org/apache/cxf/transport/http/Headers.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/649b2e73/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Headers.java
----------------------------------------------------------------------
diff --git a/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Headers.java b/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Headers.java
index b8ed562..bf8d19e 100644
--- a/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Headers.java
+++ b/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Headers.java
@@ -168,7 +168,7 @@ public class Headers {
                     createMutableList(policy.getCookie()));
         }
         if (policy.isSetBrowserType()) {
-            headers.put("BrowserType",
+            headers.put("User-Agent",
                     createMutableList(policy.getBrowserType()));
         }
         if (policy.isSetReferer()) {


Mime
View raw message