Skip to content
This repository has been archived by the owner on Feb 1, 2025. It is now read-only.

Commit

Permalink
Non GET/POST requests pass through Rmd/Rhtml
Browse files Browse the repository at this point in the history
  • Loading branch information
vst committed Jun 13, 2018
1 parent b56472a commit 1f13b2a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions install/papatya/apache2/R/startup/init.R
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 1f13b2a

Please sign in to comment.