http-client-restricted

restricting the servers that http-client will use

LTS Haskell 22.40:0.1.0
Stackage Nightly 2024-11-08:0.1.0
Latest on Hackage:0.1.0

See all snapshots http-client-restricted appears in

MIT licensed by Joey Hess
Maintained by Joey Hess
This version can be pinned in stack with:http-client-restricted-0.1.0@sha256:65734266338224b067f695690fde5372829be64f7273bca7f0f55832a42fd0f2,1241

Module documentation for 0.1.0

Addition to the http-client and http-client-tls libraries, that restricts the HTTP servers that can be used.

This is useful when a security policy needs to eg, prevent connections to HTTP servers on localhost or a local network, or only allow connections to a specific HTTP server.

It handles restricting redirects as well as the initial HTTP connection, and it also guards against DNS poisoning attacks.