portals-portalapps-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woon...@apache.org
Subject svn commit: r1347697 - /portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/RewritableHttpReverseProxyServiceImpl.java
Date Thu, 07 Jun 2012 16:04:49 GMT
Author: woonsan
Date: Thu Jun  7 16:04:48 2012
New Revision: 1347697

URL: http://svn.apache.org/viewvc?rev=1347697&view=rev
Log:
APA-49: should have casted to HttpPut obviously

Modified:
    portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/RewritableHttpReverseProxyServiceImpl.java

Modified: portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/RewritableHttpReverseProxyServiceImpl.java
URL: http://svn.apache.org/viewvc/portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/RewritableHttpReverseProxyServiceImpl.java?rev=1347697&r1=1347696&r2=1347697&view=diff
==============================================================================
--- portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/RewritableHttpReverseProxyServiceImpl.java
(original)
+++ portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/RewritableHttpReverseProxyServiceImpl.java
Thu Jun  7 16:04:48 2012
@@ -368,7 +368,7 @@ public class RewritableHttpReverseProxyS
             if (contentLength > 0L)
             {
                 HttpEntity entity = new InputStreamEntity(request.getInputStream(), contentLength);
-                ((HttpPost) httpRequest).setEntity(entity);
+                ((HttpPut) httpRequest).setEntity(entity);
             }
         }
         else if (HttpDelete.METHOD_NAME.equals(method))



Mime
View raw message