http-enumerator 0.6.5.2 → 0.6.5.3
raw patch · 2 files changed
+12/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Network/HTTP/Enumerator.hs +11/−1
- http-enumerator.cabal +1/−1
Network/HTTP/Enumerator.hs view
@@ -331,7 +331,17 @@ else returnI x if method == "HEAD" then bodyStep s hs'- else body' $ decompress $$ bodyStep s hs'+ else body' $ decompress $$ do+ x <- bodyStep s hs'+ flushStream+ return x++flushStream :: Monad m => Iteratee a m ()+flushStream = do+ x <- EL.head+ case x of+ Nothing -> return ()+ Just _ -> flushStream chunkedEnumeratee :: MonadIO m => Enumeratee S.ByteString S.ByteString m a chunkedEnumeratee k@(Continue _) = do
http-enumerator.cabal view
@@ -1,5 +1,5 @@ name: http-enumerator-version: 0.6.5.2+version: 0.6.5.3 license: BSD3 license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>