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() { 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((new StringBuilder()).append("POST is tunnelling method '").append(overload).append("' as specified by ").append(overloadParam ? "alf_method parameter" : "X-HTTP-Method-Override header").toString()); method = overload; } } return method; }
if (method.equalsIgnoreCase("get") || method.equalsIgnoreCase("post"))