http-conduit 2.2.2 → 2.2.2.1
raw patch · 3 files changed
+7/−2 lines, 3 files
Files
- ChangeLog.md +5/−0
- Network/HTTP/Simple.hs +1/−1
- http-conduit.cabal +1/−1
ChangeLog.md view
@@ -1,3 +1,8 @@+## 2.2.2.1++* setRequestBodyJSON works with aeson's toEncoding function (>= 0.11)+ [#230](https://github.com/snoyberg/http-client/pull/230)+ ## 2.2.2 * Add `httpNoBody` to `Network.HTTP.Simple`
Network/HTTP/Simple.hs view
@@ -303,7 +303,7 @@ req { H.requestHeaders = (H.hContentType, "application/json; charset=utf-8") : filter (\(y, _) -> y /= H.hContentType) (H.requestHeaders req)- , H.requestBody = H.RequestBodyLBS $ A.encode $ A.toJSON x+ , H.requestBody = H.RequestBodyLBS $ A.encode x } -- | Set the request body as a lazy @ByteString@
http-conduit.cabal view
@@ -1,5 +1,5 @@ name: http-conduit-version: 2.2.2+version: 2.2.2.1 license: BSD3 license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>