http-conduit

HTTP client package with conduit interface and HTTPS support.

http://www.yesodweb.com/book/http-conduit

Version on this page:2.3.7.3@rev:1
LTS Haskell 23.0:2.3.9.1
Stackage Nightly 2024-12-13:2.3.9.1
Latest on Hackage:2.3.9.1

See all snapshots http-conduit appears in

BSD-3-Clause licensed and maintained by Michael Snoyman
This version can be pinned in stack with:http-conduit-2.3.7.3@sha256:56017290a2d6e4fd9017f6ed7d87e9ee18530d4a787309df5683a4cad19b3535,2968

Module documentation for 2.3.7.3

http-conduit

Provides for making efficient HTTP/HTTPS requests, providing either a simple or streaming interface.

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

The Network.HTTP.Conduit.Browser module has been moved to http://hackage.haskell.org/package/http-conduit-browser/

Changes

ChangeLog for http-conduit

2.3.7.3

  • Relax test suite version bounds

2.3.7.2

  • Add the network3 flag

2.3.7.1

  • Properly skip whitespace after JSON body #401

2.3.7

  • Ensure entire JSON response body is consumed #395

2.3.6.1

  • Add back compatibility with older http-client version #393

2.3.6

  • Add httpSource to Network.HTTP.Client.Conduit #390.

2.3.5

  • Adds addToRequestQueryString helper function

2.3.4

  • Reexport RequestHeaders from Network.HTTP.Types (what was intended in last version)
  • Fix mistake in ChangeLog

2.3.3

  • Reexport Header, QueryItem and ResponseHeaders from Network.HTTP.Types
  • Rewrite a type signature of setRequestHeaders with RequestHeaders

2.3.2

  • Adds parseRequestThrow, parseRequestThrow_, and setRequestCheckStatus to Network.HTTP.Simple. See #304

2.3.1

  • Reexport Query from Network.HTTP.Types
  • Rewrite a type signatures of getRequestQueryString and setRequestQueryString with Query

2.3.0

  • conduit 1.3 support
    • NOTE: Even for older versions of conduit, this includes dropping support for finalizers
  • http returns a Source instead of a ResumableSource (due to lack of finalizers)
  • Drop monad-control for unliftio
  • Removed some deprecated functions: withManager, withManagerSettings, conduitManagerSettings

2.2.4

  • Add httpBS to Network.HTTP.Simple

2.2.3.2

  • Add proper headers for httpJSON and httpJSONEither #284

2.2.3.1

  • Minor README improvement

2.2.3

  • Add withResponse to Network.HTTP.Simple

2.2.2.1

  • setRequestBodyJSON works with aeson’s toEncoding function (>= 0.11) #230

2.2.2

  • Add httpNoBody to Network.HTTP.Simple

2.2.1

  • Add httpSource to Network.HTTP.Simple

2.2.0.1

  • Doc fixes

2.2.0

  • Upgrade to http-client 0.5

2.1.11

  • Switch to non-throwing behavior in Network.HTTP.Simple #193

2.1.10.1

  • Fix mistaken @since comments

2.1.10

  • Add the Network.HTTP.Simple module

2.1.9

  • cabal file cleanup

2.1.8

  • Move HasHttpManager from http-conduit to http-client #147

2.1.7

  • Deprecate conduitManagerSettings, re-export tlsManagerSettings #136 #137

2.1.6

  • Deprecate withManager and withManagerSettings