cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1355430 - /cxf/branches/2.4.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
Date Fri, 29 Jun 2012 15:00:12 GMT
Author: dkulp
Date: Fri Jun 29 15:00:11 2012
New Revision: 1355430

URL: http://svn.apache.org/viewvc?rev=1355430&view=rev
Log:
Merged revisions 1355175 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/branches/2.5.x-fixes

........
  r1355175 | sergeyb | 2012-06-28 17:46:53 -0400 (Thu, 28 Jun 2012) | 16 lines

  Merged revisions 1355164 via svnmerge from
  https://svn.apache.org/repos/asf/cxf/branches/2.6.x-fixes

  ................
    r1355164 | sergeyb | 2012-06-28 22:26:58 +0100 (Thu, 28 Jun 2012) | 9 lines

    Merged revisions 1355160 via svnmerge from
    https://svn.apache.org/repos/asf/cxf/trunk

    ........
      r1355160 | sergeyb | 2012-06-28 22:22:52 +0100 (Thu, 28 Jun 2012) | 1 line

      [CXF-4398] Updating HTTPConduit to check 303, patch from Fred B applied
    ........
  ................

........

Modified:
    cxf/branches/2.4.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java

Modified: cxf/branches/2.4.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java?rev=1355430&r1=1355429&r2=1355430&view=diff
==============================================================================
--- cxf/branches/2.4.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
(original)
+++ cxf/branches/2.4.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
Fri Jun 29 15:00:11 2012
@@ -988,6 +988,7 @@ public class HTTPConduit 
         switch(responseCode) {
         case HttpURLConnection.HTTP_MOVED_PERM:
         case HttpURLConnection.HTTP_MOVED_TEMP:
+        case HttpURLConnection.HTTP_SEE_OTHER:    
         case 307:
             connection = redirectRetransmit(origConnection, message, cachedStream);
             break;
@@ -1743,6 +1744,7 @@ public class HTTPConduit 
         switch (e.responseCode()) {
         case HttpURLConnection.HTTP_MOVED_PERM: // 301
         case HttpURLConnection.HTTP_MOVED_TEMP: // 302
+        case HttpURLConnection.HTTP_SEE_OTHER:  // 303    
         case 307:    
             msg += " that returned location header '" + e.getLocation() + "'";
             break;



Mime
View raw message