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:40:29 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 26818515c -> e2b40f680


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

Branch: refs/heads/3.0.x-fixes
Commit: e2b40f6807da17e5c426c15b317d907fce7e5df9
Parents: 2681851
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:40:05 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/e2b40f68/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 5507f40..6e587a8 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
@@ -350,7 +350,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