packages feed

http-conduit-downloader 1.0.1 → 1.0.2

raw patch · 2 files changed

+6/−6 lines, 2 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Network.HTTP.Conduit.Downloader: downloadG :: m ~ ResourceT IO => (Request m -> m (Request m)) -> Downloader -> String -> Maybe HostAddress -> DownloadOptions -> IO DownloadResult
+ Network.HTTP.Conduit.Downloader: downloadG :: (Request (ResourceT IO) -> ResourceT IO (Request (ResourceT IO))) -> Downloader -> String -> Maybe HostAddress -> DownloadOptions -> IO DownloadResult

Files

Network/HTTP/Conduit/Downloader.hs view
@@ -1,5 +1,5 @@ {-# LANGUAGE OverloadedStrings, BangPatterns, RecordWildCards, ViewPatterns,-             TypeFamilies, DoAndIfThenElse, PatternGuards #-}+             DoAndIfThenElse, PatternGuards #-} -- | HTTP downloader tailored for web-crawler needs. -- --  * Handles all possible http-conduit exceptions and returns@@ -20,7 +20,7 @@ --  * Returns HTTP headers for subsequent redownloads --    and handles @Not modified@ results. -----  * Can be used with external DSN resolver (hsdns-cache for example).+--  * Can be used with external DNS resolver (hsdns-cache for example). -- --  * Keep-alive connections pool (thanks to http-conduit). --@@ -180,8 +180,8 @@  -- | Generic version of 'download' -- with ability to modify http-conduit 'Request'.-downloadG :: m ~ C.ResourceT IO-             => (C.Request m -> m (C.Request m))+downloadG :: -- m ~ C.ResourceT IO+                (C.Request (C.ResourceT IO) -> C.ResourceT IO (C.Request (C.ResourceT IO)))                 -- ^ Function to modify 'Request'                 -- (e.g. sign or make 'postRequest')              -> Downloader
http-conduit-downloader.cabal view
@@ -1,6 +1,6 @@ cabal-version:  >= 1.6 name:           http-conduit-downloader-version:        1.0.1+version:        1.0.2 copyright:      Vladimir Shabanov 2013 author:         Vladimir Shabanov <vshabanoff@gmail.com> maintainer:     Vladimir Shabanov <vshabanoff@gmail.com>@@ -32,7 +32,7 @@      * Returns HTTP headers for subsequent redownloads and handles        'Not modified' results.     .-     * Can be used with external DSN resolver (hsdns-cache for example).+     * Can be used with external DNS resolver (hsdns-cache for example).  source-repository head     type:     git