MIT licensed by Michael Snoyman
This version can be pinned in stack with:http-client-tls-0.3.6.4@sha256:efe0a32d59c3a38ea35eb9c1b6e7beffa3592e39b2065a727cb84ccd654d16f3,2135
Module documentation for 0.3.6.4 Depends on 16 packages
(full list with versions ) :
base ,
bytestring ,
case-insensitive ,
containers ,
crypton ,
crypton-connection ,
data-default ,
exceptions ,
http-client ,
http-types ,
memory ,
network ,
network-uri ,
text ,
tls ,
transformers Used by 50 packages in
nightly-2025-12-22 (full list with versions ) :
advent-of-code-api ,
aws ,
bugsnag ,
cabal-flatpak ,
DAV ,
dhall ,
dl-fedora ,
github ,
github-release ,
github-rest ,
gothic ,
graphql-client ,
honeycomb ,
hpack ,
http-client-overrides ,
http-client-restricted ,
http-conduit ,
http-directory ,
hyperbole ,
ihaskell ,
kubernetes-api ,
kubernetes-api-client ,
mandrill ,
oeis ,
oidc-client ,
ollama-haskell ,
opensource ,
opentelemetry-extra ,
opentelemetry-lightstep ,
pandoc ,
pantry ,
patrol ,
pinecone ,
pipes-http ,
pkgtreediff ,
plaid ,
prometheus ,
pusher-http-haskell ,
ratel ,
reddit-scrape ,
and many more http-client-tls Full tutorial docs are available at: https://haskell-lang.org/library/http-client
Use the http-client package with the pure-Haskell tls package for secure connections. For the most part, you’ll just want to replace defaultManagerSettings with tlsManagerSettings, e.g.:
import Network.HTTP.Client import Network.HTTP.Client.TLS main :: IO () main = do manager <- newManager tlsManagerSettings ...
Changelog for http-client-tls 0.3.6.4 data-default-class -> data-default #546 0.3.6.3 catching up to tls 1.8.0 #515 0.3.6.2 0.3.6.1 #482 : Raise lower bound on http-client to fix build. 0.3.6 Allow making requests to raw IPv6 hosts #477 0.3.5.3 0.3.5.2 #289 : Keep original TLSSettings when creating a Manager using newTlsManagerWith. 0.3.5.1 Also catch TLSError exceptions #273 0.3.5 Add newTlsManagerWith #278 , which provides a variant of newTlsManager that takes a ManagerSettings to base its settings off of. 0.3.4.2 Never throw exceptions on 401 status in applyDigestAuth 0.3.4.1 Better exception cleanup behavior 0.3.4 Add ‘newTlsManager’ #263 , which adds support for respecting socks5:// and socks5h:// http_proxy and https_proxy environment variables. 0.3.3.2 Better handling of internal exceptions 0.3.3.1 Better exception safety via bracketOnError 0.3.3 Add DigestAuthException and generalize applyDigestAuth Global manager uses a shared TLS context (faster init) 0.3.2 Add mkManagerSettingsContext #228 0.3.1.1 0.3.1 0.3.0 0.2.4.1 0.2.4 0.2.3 Exception catching cleanup
Stackage is a service provided by the Haskell Foundation │ Originally developed by FP Complete