This is an auxiliary parser utilities for parsing things related on HTTP protocol.
In general you don't have to use this module directly.
- isCtl :: Char -> Bool
- isText :: Char -> Bool
- isSeparator :: Char -> Bool
- isChar :: Char -> Bool
- isToken :: Char -> Bool
- isSPHT :: Char -> Bool
- listOf :: Parser a -> Parser [a]
- crlf :: Parser ()
- sp :: Parser ()
- lws :: Parser ()
- token :: Parser Ascii
- separators :: Parser Ascii
- quotedStr :: Parser Ascii
- qvalue :: Parser Double
Documentation
isSeparator :: Char -> BoolSource
returns isSeparator
cTrue
iff c is one of the HTTP
separators.
separators :: Parser AsciiSource
is almost the same as separators
.
takeWhile1
isSeparator