Skip to content

Commit

Permalink
Remove DefaultServlet dependency on WebdavServlet
Browse files Browse the repository at this point in the history
  • Loading branch information
fhanik authored and markt-asf committed Mar 11, 2020
1 parent 204c4fa commit c07f11d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/org/apache/catalina/servlets/DefaultServlet.java
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ protected String determineMethodsAllowed(HttpServletRequest req) {
protected void sendNotAllowed(HttpServletRequest req, HttpServletResponse resp)
throws IOException {
resp.addHeader("Allow", determineMethodsAllowed(req));
resp.sendError(WebdavStatus.SC_METHOD_NOT_ALLOWED);
resp.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED);
}


Expand Down

0 comments on commit c07f11d

Please sign in to comment.