http-client-restricted

restricting the servers that http-client will use

Version on this page:0.0.5
LTS Haskell 22.38:0.1.0
Stackage Nightly 2024-10-11: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.0.5@sha256:e794f0010a97d13158284ea7e40d4937bf028c5a300098ba0081c1e15ae3cc69,1233

Module documentation for 0.0.5

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.