packages feed

http-client 0.3.1.1 → 0.3.2

raw patch · 3 files changed

+10/−1 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Network.HTTP.Client: httpNoBody :: Request -> Manager -> IO (Response ())
+ Network.HTTP.Client.Internal: httpNoBody :: Request -> Manager -> IO (Response ())

Files

Network/HTTP/Client.hs view
@@ -56,6 +56,7 @@     ( -- * Performing requests       withResponse     , httpLbs+    , httpNoBody     , responseOpen     , responseClose       -- * Connection manager
Network/HTTP/Client/Core.hs view
@@ -4,6 +4,7 @@ module Network.HTTP.Client.Core     ( withResponse     , httpLbs+    , httpNoBody     , httpRaw     , responseOpen     , responseClose@@ -57,6 +58,13 @@ httpLbs req man = withResponse req man $ \res -> do     bss <- brConsume $ responseBody res     return res { responseBody = L.fromChunks bss }++-- | A convenient wrapper around 'withResponse' which ignores the response+-- body. This is useful, for example, when performing a HEAD request.+--+-- Since 0.3.2+httpNoBody :: Request -> Manager -> IO (Response ())+httpNoBody req man = withResponse req man $ return . void  -- | Get a 'Response' without any redirect following. httpRaw
http-client.cabal view
@@ -1,5 +1,5 @@ name:                http-client-version:             0.3.1.1+version:             0.3.2 synopsis:            An HTTP client engine, intended as a base layer for more user-friendly packages. description:         This codebase has been refactored from http-conduit. homepage:            https://github.com/snoyberg/http-client