jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r468378 - /jackrabbit/trunk/jcr-server/client/src/java/org/apache/jackrabbit/webdav/client/methods/DeleteMethod.java
Date Fri, 27 Oct 2006 13:37:59 GMT
Author: angela
Date: Fri Oct 27 06:37:58 2006
New Revision: 468378

URL: http://svn.apache.org/viewvc?view=rev&rev=468378
Log:
ok-response of DELETE must be no-content

Modified:
    jackrabbit/trunk/jcr-server/client/src/java/org/apache/jackrabbit/webdav/client/methods/DeleteMethod.java

Modified: jackrabbit/trunk/jcr-server/client/src/java/org/apache/jackrabbit/webdav/client/methods/DeleteMethod.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jcr-server/client/src/java/org/apache/jackrabbit/webdav/client/methods/DeleteMethod.java?view=diff&rev=468378&r1=468377&r2=468378
==============================================================================
--- jackrabbit/trunk/jcr-server/client/src/java/org/apache/jackrabbit/webdav/client/methods/DeleteMethod.java
(original)
+++ jackrabbit/trunk/jcr-server/client/src/java/org/apache/jackrabbit/webdav/client/methods/DeleteMethod.java
Fri Oct 27 06:37:58 2006
@@ -37,6 +37,6 @@
     }
 
     protected boolean isSuccess(int statusCode) {
-        return statusCode == DavServletResponse.SC_OK;
+        return statusCode == DavServletResponse.SC_NO_CONTENT;
     }
 }



Mime
View raw message