Permalink
Browse files

Fix bug 43706. Copy/move should return 201 if successful. Based on a …

…patch by Panagiotis Astithas.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@598783 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
markt-asf committed Nov 27, 2007
1 parent 39e2574 commit a6662f165f7e5d52dcd34abf1bfe95a14ab57dd3
Showing with 3 additions and 0 deletions.
  1. +3 −0 java/org/apache/catalina/servlets/WebdavServlet.java
@@ -1729,6 +1729,9 @@ private boolean copyResource(HttpServletRequest req,
}
+ // Copy was successful
+ resp.setStatus(WebdavStatus.SC_CREATED);
+
// Removing any lock-null resource which would be present at
// the destination path
lockNullResources.remove(destinationPath);

0 comments on commit a6662f1

Please sign in to comment.