http-client-openssl

http-client backend using the OpenSSL library.

https://github.com/snoyberg/http-client

Version on this page:0.3.2.0
LTS Haskell 22.14:0.3.3@rev:1
Stackage Nightly 2024-03-28:0.3.3@rev:1
Latest on Hackage:0.3.3@rev:1

See all snapshots http-client-openssl appears in

MIT licensed by Michael Snoyman
This version can be pinned in stack with:http-client-openssl-0.3.2.0@sha256:2998558bcbdae73ee172699904f8f3fb145a0d17e8829253c3b209e3385cf35d,1540

Module documentation for 0.3.2.0

http-client-openssl

Full tutorial docs on the http-client package set are available at: https://haskell-lang.org/library/http-client

This package is an alternative to http-client-tls for those wishing to make secure connections with the OpenSSL library.

Changes

0.3.2.0

  • http-client-openssl: added reasonable OpenSSL default settings

0.3.1.0

  • Fix a bug with http-proxy that would cause SNI to be set incorrectly; (would use the domain of the proxy, instead of the server we’re trying to reach through the proxy)

0.3.0.0

  • Wrap HsOpenSSL specific exceptions into http-clients own HttpExceptionRequest. This is a breaking change and might need adjustment with respect to exception handling in user code.
  • More robust handling of unexpectedly closed connections

0.2.2.0

  • Tell OpenSSL what host is being contacted, so it can use the SNI extension for certificate selection if the server requires it.

0.2.1.1

  • Fix a connection-bug with http-proxy(Previous version closes a connection before reading all respose-data.)

0.2.1.0

  • Add support for http-proxy

0.2.0.5

  • Use different domain name so tests pass

0.2.0.4

  • Minor doc updates

0.2.0.3

  • Simplified a test case

0.2.0.1

Expand hints for getAddrInfo. More exception safety.