http-client 0.4.19 → 0.4.20
raw patch · 5 files changed
+11/−2 lines, 5 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Network.HTTP.Client: brReadSome :: BodyReader -> Int -> IO ByteString
Files
- ChangeLog.md +4/−0
- Network/HTTP/Client.hs +1/−0
- Network/HTTP/Client/Body.hs +4/−0
- Network/HTTP/Client/Types.hs +1/−1
- http-client.cabal +1/−1
ChangeLog.md view
@@ -1,3 +1,7 @@+## 0.4.20++* Expose `brReadSome`+ ## 0.4.19 * Move HasHttpManager from http-conduit to http-client [#147](https://github.com/snoyberg/http-client/pull/147)
Network/HTTP/Client.hs view
@@ -154,6 +154,7 @@ -- ** Response body , BodyReader , brRead+ , brReadSome , brConsume -- * Misc , HttpException (..)
Network/HTTP/Client/Body.hs view
@@ -33,6 +33,10 @@ brRead :: BodyReader -> IO S.ByteString brRead = id +-- | Continuously call 'brRead', building up a lazy ByteString until a chunk is+-- constructed that is at least as many bytes as requested.+--+-- Since 0.4.20 brReadSome :: BodyReader -> Int -> IO L.ByteString brReadSome brRead = loop id
Network/HTTP/Client/Types.hs view
@@ -100,7 +100,7 @@ -- on this, see: -- -- <https://github.com/snoyberg/http-client/commit/b86b1cdd91e56ee33150433dedb32954d2082621#commitcomment-10718689>- | FailedConnectionException2 String Int Bool SomeException -- ^ host/port/secure+ | FailedConnectionException2 String Int Bool SomeException -- ^ host\/port\/secure | ExpectedBlankAfter100Continue | InvalidStatusLine S.ByteString | InvalidHeader S.ByteString
http-client.cabal view
@@ -1,5 +1,5 @@ name: http-client-version: 0.4.19+version: 0.4.20 synopsis: An HTTP client engine, intended as a base layer for more user-friendly packages. description: Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/http-client>. homepage: https://github.com/snoyberg/http-client