happstack-server-0.5.0.2: Web related tools and services.

Happstack.Server.MessageWrap

Synopsis

Documentation

formDecode :: String -> [(String, Input)]Source

Decodes application/x-www-form-urlencoded inputs.

multipartDecodeSource

Arguments

:: [(String, String)]

Content-type parameters

-> ByteString

Request body

-> [(String, Input)]

Input variables and values.

Decodes multipart/form-data input.

simpleInput :: String -> InputSource

Packs a string into an Input of type text/plain

defaultInputType :: ContentTypeSource

The default content-type for variables.

pathEls :: String -> [String]Source

Get the path components from a String.

class Read a => ReadString a whereSource

Like Read except Strings and Chars not quoted.

Methods

readString :: String -> aSource