summaryrefslogtreecommitdiff
path: root/src/server/CGI.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/CGI.hs')
-rw-r--r--src/server/CGI.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/server/CGI.hs b/src/server/CGI.hs
new file mode 100644
index 000000000..1a77351e2
--- /dev/null
+++ b/src/server/CGI.hs
@@ -0,0 +1,11 @@
+-- | Isolate dependencies on the problematic cgi package to this module
+module CGI(module C) where
+import Network.CGI as C(
+ CGI,ContentType(..),Accept(..),Language(..),
+ getVarWithDefault,readInput,negotiate,requestAcceptLanguage,getInput,
+ setHeader,output,outputFPS,outputError,
+ handleErrors,catchCGI,throwCGI,
+ liftIO)
+import Network.CGI.Protocol as C(CGIResult(..),CGIRequest(..),Input(..),
+ Headers,HeaderName(..))
+import Network.CGI.Monad as C(runCGIT)