Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit a6662f165f7e5d52dcd34abf1bfe95a14ab57dd3 1 parent 39e2574
@markt-asf markt-asf authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  java/org/apache/catalina/servlets/WebdavServlet.java
View
3  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);
Please sign in to comment.
Something went wrong with that request. Please try again.