| |||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||
Description | |||||||||||||||||||||||||||||||||||||||||||||||||
Low-level interface to CGI scripting. | |||||||||||||||||||||||||||||||||||||||||||||||||
Synopsis | |||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||
Documentation | |||||||||||||||||||||||||||||||||||||||||||||||||
module WASH.CGI.RawCGITypes | |||||||||||||||||||||||||||||||||||||||||||||||||
initEnv :: Handle -> Handle -> IO CGIEnv | |||||||||||||||||||||||||||||||||||||||||||||||||
Decoding of CGIOption. Decoding of CGIOption. Decoding of CGIOption. Decoding of CGIOption. Initial and default content type of a link submission Construct a CGI environment from the input and output handle of the current connection and the CGI variables in the environment. | |||||||||||||||||||||||||||||||||||||||||||||||||
start :: CGIOptions -> (CGIInfo -> CGIParameters -> IO ()) -> IO () | |||||||||||||||||||||||||||||||||||||||||||||||||
Main entry point for low-level CGI scripts. Takes a list of CGIOption and a CGIProgram and runs it as a CGI script. | |||||||||||||||||||||||||||||||||||||||||||||||||
startEnv :: CGIEnv -> CGIOptions -> (CGIInfo -> CGIParameters -> IO ()) -> IO () | |||||||||||||||||||||||||||||||||||||||||||||||||
resolveFiles :: [(String, CGIRawValue)] -> IO CGIParameters | |||||||||||||||||||||||||||||||||||||||||||||||||
parseCookies :: String -> [(String, String)] | |||||||||||||||||||||||||||||||||||||||||||||||||
dropSpecialParameters :: [(String, a)] -> [(String, a)] | |||||||||||||||||||||||||||||||||||||||||||||||||
decodeMultiPart :: String -> String -> [(String, CGIRawValue)] | |||||||||||||||||||||||||||||||||||||||||||||||||
extractContents :: String -> String -> Maybe (String, String) | |||||||||||||||||||||||||||||||||||||||||||||||||
extractBoundary :: String -> Maybe String | |||||||||||||||||||||||||||||||||||||||||||||||||
advanceIC :: String -> String -> Maybe String | |||||||||||||||||||||||||||||||||||||||||||||||||
parameterLines :: String -> [String] | |||||||||||||||||||||||||||||||||||||||||||||||||
decodeLine :: String -> (String, CGIRawValue) | |||||||||||||||||||||||||||||||||||||||||||||||||
assocParm :: String -> CGIParameters -> Maybe CGIValue | |||||||||||||||||||||||||||||||||||||||||||||||||
assocParmL :: String -> CGIParameters -> [CGIValue] | |||||||||||||||||||||||||||||||||||||||||||||||||
assocParmR :: String -> CGIParameters -> CGIParameters | |||||||||||||||||||||||||||||||||||||||||||||||||
assoc :: Eq a => a -> [(a, b)] -> Maybe b | |||||||||||||||||||||||||||||||||||||||||||||||||
fieldNames :: CGIParameters -> [String] | |||||||||||||||||||||||||||||||||||||||||||||||||
generateKey :: IO (Maybe (Integer, String, String)) | |||||||||||||||||||||||||||||||||||||||||||||||||
extendRandomly :: [Char] -> [Char] | |||||||||||||||||||||||||||||||||||||||||||||||||
nrNonces :: Int | |||||||||||||||||||||||||||||||||||||||||||||||||
makeEncoder :: Maybe (Integer, String, String) -> String -> String | |||||||||||||||||||||||||||||||||||||||||||||||||
decode :: String -> IO String | |||||||||||||||||||||||||||||||||||||||||||||||||
decrypt :: String -> String -> String | |||||||||||||||||||||||||||||||||||||||||||||||||
encrypt :: String -> String -> String | |||||||||||||||||||||||||||||||||||||||||||||||||
Produced by Haddock version 2.4.2 |