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-6007] Minor update to HttpConduit to support empty POSTs and DELETEs retransmits
Date Thu, 30 Apr 2015 15:58:35 GMT
Repository: cxf
Updated Branches:
  refs/heads/master f2b0390b1 -> 77a632d30


[CXF-6007] Minor update to HttpConduit to support empty POSTs and DELETEs retransmits


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

Branch: refs/heads/master
Commit: 77a632d3082565be972fb7fafb211a096eee9dc2
Parents: f2b0390
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Thu Apr 30 16:58:15 2015 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Thu Apr 30 16:58:15 2015 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/cxf/transport/http/HTTPConduit.java    | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/77a632d3/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
----------------------------------------------------------------------
diff --git a/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
b/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
index 239d790..80decf8 100644
--- a/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
+++ b/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
@@ -1380,9 +1380,8 @@ public abstract class HTTPConduit
         protected void handleRetransmits() throws IOException {
             // If we have a cachedStream, we are caching the request.
             if (cachedStream != null
-                || KNOWN_HTTP_VERBS_WITH_NO_CONTENT.contains(getMethod()) 
-                   && (getClient().isAutoRedirect()) 
-                       || authSupplier != null && authSupplier.requiresRequestCaching())
{
+                || getClient().isAutoRedirect() && KNOWN_HTTP_VERBS_WITH_NO_CONTENT.contains(getMethod())

+                || authSupplier != null && authSupplier.requiresRequestCaching())
{
 
                 if (LOG.isLoggable(Level.FINE) && cachedStream != null) {
                     StringBuilder b = new StringBuilder(4096);


Mime
View raw message