Copyright | (c) Trevor Elliott 2008 |
---|---|
License | BSD3 |
Maintainer | Trevor Elliott <trevor@geekgateway.com> |
Stability | Portability : |
Safe Haskell | None |
Language | Haskell98 |
- makeRequest :: Bool -> Resolver IO
- getRequest :: URI -> Request String
- postRequest :: URI -> String -> Request String
- parseDirectResponse :: String -> Params
- formatParams :: Params -> String
- formatDirectParams :: Params -> String
- escapeParam :: String -> String
- addParams :: Params -> URI -> URI
- parseParams :: String -> Params
Request Interface
makeRequest :: Bool -> Resolver IO Source #
Perform an http request. If the Bool parameter is set to True, redirects from the server will be followed.
HTTP Utilities
Request/Response Parsing and Formatting
parseDirectResponse :: String -> Params Source #
Turn a response body into a list of parameters.
formatParams :: Params -> String Source #
Format OpenID parameters as a query string
formatDirectParams :: Params -> String Source #
Format OpenID parameters as a direct response
escapeParam :: String -> String Source #
Escape for the query string of a URI
parseParams :: String -> Params Source #
Parse OpenID parameters out of a url string