packages feed

http-conduit 2.3.7.1 → 2.3.7.2

raw patch · 3 files changed

+15/−3 lines, 3 filesdep +network-bsddep ~networkdep ~warp

Dependencies added: network-bsd

Dependency ranges changed: network, warp

Files

ChangeLog.md view
@@ -1,5 +1,9 @@ # ChangeLog for http-conduit +## 2.3.7.2++* Add the `network3` flag+ ## 2.3.7.1  * Properly skip whitespace after JSON body [#401](https://github.com/snoyberg/http-client/issues/401)
http-conduit.cabal view
@@ -1,5 +1,5 @@ name:            http-conduit-version:         2.3.7.1+version:         2.3.7.2 license:         BSD3 license-file:    LICENSE author:          Michael Snoyman <michael@snoyman.com>@@ -65,7 +65,6 @@                  , utf8-string                  , case-insensitive                  , unliftio-                 , network                  , wai >= 3.0 && < 3.3                  , warp >= 3.0.0.2 && < 3.3                  , wai-conduit@@ -78,6 +77,15 @@                  , aeson                  , temporary                  , resourcet+  if flag(network3)+    build-depends: network >= 3, network-bsd+  else+    build-depends: network < 3++flag network3+  default: False+  manual: False+  description: Use network 3 or higher  source-repository head   type:     git
test/main.hs view
@@ -617,7 +617,7 @@     ] $     case pathInfo req of       [] -> A.encode jsonValue-      ["trailing"] -> A.encode jsonValue <> "   \n\r\n\t  "+      ["trailing"] -> L.append (A.encode jsonValue) "   \n\r\n\t  "       x -> error $ "unsupported: " ++ show x  jsonValue :: A.Value