query package:happstack-server

Retrieves the query component from the URI
limit the scope to the QUERY_STRING
handler :: ServerPart Response
handler =
do foo <- queryString $ look "foo"
ok $ toResponse $ "foo = " ++ foo
the QUERY_STRING decoded as key/value pairs
the QUERY_STRING