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

Safe HaskellNone
LanguageHaskell98

Snap.Internal.Parsing

Synopsis

Documentation

sp :: Parser Char Source

Parsers for different tokens in an HTTP request.

letter :: Parser Char Source

Parsers for different tokens in an HTTP request.

digit :: Parser Char Source

Parsers for different tokens in an HTTP request.

generateFS :: (Word8 -> Bool) -> FastSet Source

spaces :: Parser [Char] Source

Parser for zero or more spaces.

fieldCharSet :: FastSet Source

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

Parser for request headers.

tokenTable :: FastSet Source

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

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

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