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-6379] Fixing a typo, thanks to Carsten Lohmann
Date Thu, 30 Apr 2015 09:41:57 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes 92da4f06b -> 47c76c47b


[CXF-6379] Fixing a typo, thanks to Carsten Lohmann


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

Branch: refs/heads/2.7.x-fixes
Commit: 47c76c47ba7fab6d26db7516fdce6b7bd47965ed
Parents: 92da4f0
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Thu Apr 30 10:39:12 2015 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Thu Apr 30 10:41:39 2015 +0100

----------------------------------------------------------------------
 .../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/47c76c47/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 a95f06f..2cd8d91 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
@@ -310,7 +310,7 @@ public class Headers {
             }
             if (addHeaders || HttpHeaderHelper.COOKIE.equalsIgnoreCase(header)) {
                 for (String s : headerList) {
-                    connection.addRequestProperty(HttpHeaderHelper.COOKIE, s);
+                    connection.addRequestProperty(header, s);
                 }
             } else {
                 StringBuilder b = new StringBuilder();


Mime
View raw message