http-wget-0.6.2.3: Provide a simple HTTP client interface by wrapping the wget command line tool. (deprecated)

Portabilityportable
StabilityStable
MaintainerMichael Snoyman <michael@snoyman.com>

Network.HTTP.Wget

Description

Provide a simple HTTP client interface by wrapping the wget command line tool.

Synopsis

Documentation

wgetSource

Arguments

:: (MonadIO m, Failure WgetException m) 
=> String

The URL.

-> [(String, String)]

Get parameters.

-> [(String, String)]

Post parameters. If empty, this will be a get request.

-> m String

The response body.

Get a response from the given URL with the given parameters.

wget'Source

Arguments

:: (MonadIO m, Failure WgetException m) 
=> String

The URL.

-> [(String, String)]

Get parameters.

-> [(String, String)]

Post parameters. If empty, this will be a get request.

-> m ([(String, String)], String)

The headers and response body.

Get a response from the given URL with the given parameters, including headers.

wgetSplitSource

Arguments

:: (Monad m, Failure WgetException m) 
=> String

The URL.

-> [(String, String)]

Get parameters.

-> [(String, String)]

Post parameters. If empty, this will be a get request.

-> IO (m String)

The headers and response body.

Same as wget, but easier to access the exception on failure.

wgetSplit'Source

Arguments

:: (Monad m, Failure WgetException m) 
=> String

The URL.

-> [(String, String)]

Get parameters.

-> [(String, String)]

Post parameters. If empty, this will be a get request.

-> IO (m ([(String, String)], String))

The headers and response body.

Same as wget', but easier to access the exception on failure.