As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
protected String getScriptMethod() { // Is this an overloaded POST request? String method = req.getMethod(); if (method.equalsIgnoreCase("post")) { boolean overloadParam = false; String overload = req.getHeader("X-HTTP-Method-Override"); if (overload == null || overload.length() == 0) { overload = req.getParameter("alf_method"); overloadParam = true; } if (overload != null && overload.length() > 0) { if (logger.isDebugEnabled()) logger.debug("POST is tunnelling method '" + overload + "' as specified by " + (overloadParam ? "alf_method parameter" : "X-HTTP-Method-Override header")); method = overload; } } return method; }
if (method.equalsIgnoreCase("get") || method.equalsIgnoreCase("post"))