diff --git a/install/papatya/apache2/R/startup/init.R b/install/papatya/apache2/R/startup/init.R index 5885b15..c2ef956 100644 --- a/install/papatya/apache2/R/startup/init.R +++ b/install/papatya/apache2/R/startup/init.R @@ -63,6 +63,12 @@ ##' @return Nothing as HTTP response is sent during the function ##' evaluation. raknit <- function (file, ...) { + ## Workout the non GET/POST requests. + if (!(SERVER$method %in% c("GET", "POST"))) { + ## Nothing to be done here. Return. + return() + } + ## Create a temporary directory path as a working directory: dirpath <- tempfile()