@hackage http-client-restricted0.1.0
restricting the servers that http-client will use
Categories
License
MIT
Maintainer
Joey Hess <id@joeyh.name>
Links
Versions
Installation
Dependencies (8)
- base >=4.11.1.0 && <5.0
- crypton-connection >=0.3.1
- data-default
- http-client >=0.7.11 && <0.8
- http-client-tls >=0.3.6 && <0.4
- network >=3.0.0.0 Show all…
Dependents (2)
@hackage/git-annex, @hackage/acme-everything
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.