http-client-restricted: restricting the servers that http-client will use

[ library, mit, network ] [ Propose Tags ]

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.

Versions 0.0.1
Change log CHANGELOG
Dependencies base (>=4.6 && <5), connection (>=0.2.5), data-default, http-client (>=0.4.31 && <0.6), http-client-tls (>=0.3.2 && <0.4), network, utf8-string [details]
License MIT
Copyright 2018 Joey Hess, 2013 Michael Snoyman
Author Joey Hess
Maintainer Joey Hess <>
Category Network
Source repo head: git clone git://
Uploaded by JoeyHess at Tue Jun 26 16:23:30 UTC 2018
Distributions NixOS:0.0.1
Downloads 26 total (26 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-06-26 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees