simpleHTTP req transmits the
Request req by
opening a
direct, non-persistent connection to the HTTP server
that
req is destined for, followed by transmitting it and
gathering up the response as a
Result. Prior to sending the
request, it is normalized (via
normalizeRequest). If you have
to mediate the request via an HTTP proxy, you will have to normalize
the request yourself. Or switch to using
Browser instead.
Examples:
simpleHTTP (getRequest "http://hackage.haskell.org/")
simpleHTTP (getRequest "http://hackage.haskell.org:8012/")