snap-core-0.9.4.1: Snap: A Haskell Web Framework (core interfaces and types)

Safe HaskellNone

Snap.Internal.Parsing

Synopsis

Documentation

sp :: Parser CharSource

Parsers for different tokens in an HTTP request.

letter :: Parser CharSource

Parsers for different tokens in an HTTP request.

digit :: Parser CharSource

Parsers for different tokens in an HTTP request.

generateFS :: (Word8 -> Bool) -> FastSetSource

spaces :: Parser [Char]Source

Parser for zero or more spaces.

pHeaders :: Parser [(ByteString, ByteString)]Source

Parser for request headers.

tokenTable :: FastSetSource

type DList a = [a] -> [a]Source

parseUrlEncoded :: ByteString -> Map ByteString [ByteString]Source

Parses a string encoded in application/x-www-form-urlencoded format.