http-conduit 2.1.4.5 → 2.1.4.7
raw patch · 3 files changed
+12/−1 lines, 3 files
Files
- Network/HTTP/Client/Conduit.hs +3/−0
- Network/HTTP/Conduit.hs +8/−0
- http-conduit.cabal +1/−1
Network/HTTP/Client/Conduit.hs view
@@ -2,6 +2,9 @@ {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE RankNTypes #-} -- | A new, experimental API to replace "Network.HTTP.Conduit".+--+-- For more information, please be sure to read the documentation in the+-- "Network.HTTP.Client" module. module Network.HTTP.Client.Conduit ( -- * Conduit-specific interface withResponse
Network/HTTP/Conduit.hs view
@@ -124,6 +124,9 @@ -- > let settings = mkManagerSettings (TLSSettingsSimple True False False) Nothing -- > res <- withManagerSettings settings $ httpLbs request -- > print res+--+-- For more information, please be sure to read the documentation in the+-- "Network.HTTP.Client" module. module Network.HTTP.Conduit ( -- * Perform a request@@ -245,6 +248,11 @@ -- response body will live in memory. If you want constant memory -- usage, you'll need to use @conduit@ packages's -- 'C.Source' returned by 'http'.+--+-- This function will 'throwIO' an 'HttpException' for any+-- response with a non-2xx status code (besides 3xx redirects up+-- to a limit of 10 redirects). This behavior can be modified by+-- changing the 'checkStatus' field of your request. -- -- Note: Unlike previous versions, this function will perform redirects, as -- specified by the 'redirectCount' setting.
http-conduit.cabal view
@@ -1,5 +1,5 @@ name: http-conduit-version: 2.1.4.5+version: 2.1.4.7 license: BSD3 license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>