@hackage / http-client-restricted

restricting the servers that http-client will use

Latest0.1.1

About

Metadata

  • Last updated , by JoeyHess
  • License MIT
  • Categories Network Development
  • Maintained by: Joey Hess <id@joeyh.name>

  • Lottery factor: 1

Links

Installation

Readme

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.