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:16:54 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes b6b48c1bc -> 60c24cda7


[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/60c24cda
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/60c24cda
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/60c24cda

Branch: refs/heads/3.1.x-fixes
Commit: 60c24cda73a2612551bdc518d901a7c6bc82ee77
Parents: b6b48c1
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:16:37 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/60c24cda/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 65adab9..03a3736 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
@@ -167,7 +167,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