0c9488ab by Jerry Pommer

Issue #2757 - Workaround to make GETs work under Node.

1 parent 6235725a
......@@ -119,7 +119,6 @@ public class DirectControlServlet extends HttpServlet {
Debug.logInfo("PARAMETERS: " + paramList, module);
// Handle if this is a form post
String contentType = request.getContentType();
if (contentType != null && contentType.indexOf("x-www-form-urlencoded") != -1) {
method = request.getParameter("_method");
String httpMethod = request.getMethod();
if (method == null && httpMethod != null) method = httpMethod;
......@@ -146,9 +145,6 @@ public class DirectControlServlet extends HttpServlet {
}
}
}
} else {
Debug.logInfo("Unsupported form encoding", module);
}
// If there is a mapping for this pathInfo, run the corresponding service
// otherwise, return an error
......