snap-core-0.7.0.1: Snap: A Haskell Web Framework (Core)

Snap.Internal.Parsing

Synopsis

Documentation

digit :: Parser Char

Parsers for different tokens in an HTTP request.

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

spaces :: Parser [Char]

Parser for zero or more spaces.

fieldCharSet :: FastSet

pHeaders :: Parser [(ByteString, ByteString)]

Parser for request headers.

matchAll :: [Char -> Bool] -> Char -> Bool

tokenTable :: FastSet

urlEncodeTable :: FastSet

finish :: Result a -> Result a

parseUrlEncoded :: ByteString -> Map ByteString [ByteString]

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