http-conduit 2.1.4.1 → 2.1.4.2
raw patch · 2 files changed
+9/−2 lines, 2 filesdep ~conduitPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: conduit
API changes (from Hackage documentation)
Files
- Network/HTTP/Conduit.hs +7/−0
- http-conduit.cabal +2/−2
Network/HTTP/Conduit.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE OverloadedStrings #-}@@ -305,9 +306,15 @@ -> m (Response (ResumableSource m S.ByteString)) http req man = do (key, res) <- allocate (Client.responseOpen req man) Client.responseClose+#if MIN_VERSION_conduit(1, 2, 0) let rsrc = CI.ResumableSource+ (flip CI.unConduitM CI.Done $ HCC.bodyReaderSource $ responseBody res)+ (release key)+#else+ let rsrc = CI.ResumableSource (HCC.bodyReaderSource $ responseBody res) (release key)+#endif return res { responseBody = rsrc } requestBodySource :: Int64 -> Source (ResourceT IO) S.ByteString -> RequestBody
http-conduit.cabal view
@@ -1,5 +1,5 @@ name: http-conduit-version: 2.1.4.1+version: 2.1.4.2 license: BSD3 license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>@@ -26,7 +26,7 @@ , bytestring >= 0.9.1.4 , transformers >= 0.2 , resourcet >= 1.1 && < 1.2- , conduit >= 0.5.5 && < 1.2+ , conduit >= 0.5.5 && < 1.3 , http-types >= 0.7 , lifted-base >= 0.1 , http-client >= 0.3.6 && < 0.4